Excuse me. What is Managed Project.
I met the same problem.
I am trying to complile a sample program download from the a web site. The sample program consists of a .cpp file, a .mak file, a .def file and several .chh, .h files.
I tried first using its .bat file to compile it. It should generated a .dll file. But I met many errors because the required .h files can't be opened. And then I searched and located all the required .h file, and modified all the relevant file using absolute path of the required .h Header files. Later, I got this error:
NMAKE : fatal error U1077: 'cl' : return code '0x2'
cl -Zi -Od -DDEBUG -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=
1 -DWIN32 -D_WIN32 -W3 -D_WINNT -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0500 -DWINV
ER=0x0500 -Zpl /DMIDAS_ISV /DR50 /DR60 /DMIDAS_ISV_IMPORT -Ow -DNT -MLd N2HTML
e:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\VCWizards\MC++WebService\
Templates\1033\stdafx.h(4) : fatal error C1190: managed targeted code requires '
#using <mscorlib.dll>' and '/clr' option
And then, I created a new project in Visual Studiao .NET 2003, as New/Project/Visual C++ Projects/Win32/Win32 Project, and I selected DLL and Empty Project in the wizard. And then I imported all the files I download of this program, and compiled. I got the error:
e:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\VCWizards\MC++WebService\Templates\1033\stdafx.h(4): fatal error C1190: managed targeted code requires '#using <mscorlib.dll>' and '/clr' option
I don't know how to created an Unmanaged proect
What should I do next