» An ultimate catalog of computer data
Forum posts for ntvdm.exe
Executable generated with clang++ goes crazy
#include<iostream>
#include<cstdlib>
#include<cstring>
#include<cstdio>
using namespace std;
id Book{
public:
int a;
int b;
};
int main()
{
Book b1;
b1.a = 10;
b1.b = 20;
cout<< b1.a << ' ' <<b1.b;
}
when we compile the above code with
clang++ test.cc -o a.exe
and run a.exe works perfectly. But when we compile the same program with
clang++ test.cc -emit-llvm -S -o a.exe
and now when we run it, the program goes crazy by launching ntvdm.exe (can be seen in process explorer) and command prompt starts behaving weird.
Software stack:
clang version 2.9 (tags/RELEASE_29/final)
Target: i386-pc-mingw32
Thread model: posix
View complete forum thread with replies
Other posts related to ntvdm.exe
See Related Forum Messages: Follow the Links Below to View Complete Thread
How can I kill a 16bit process held by nvtdm.exe?
VDMEnumProcessWOW returns no processes on Vista
C# console applications all 16bit?
Create a 16bit application?
Executable generated with clang++ goes crazy