R
Richard Lionheart
Hi All,
I've got Visual Studio .Net installed, but I don't know it very well.
So I tried to create a plain old Win32 using the command-line complier.
I tried to compile:
************ HelloWorld.cpp *************
#include "stdafx.h"
void main()
{
printf("Hello, World\n");
}
***************** (end) *******************
with the command "cl HelloWorld.cpp" and got:
I thought that some environment variable that the compiler wanted
wasn't there, so I ran vcvars32.bat, but that didn't help.
I checked stdafx.h's (and stdafx.cpp's) existence/location: I found a
slew of them in:
F:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz
subdirectories:
I suspect that all the stdafx header/program files are centered on .Net
connections so that I need to reinstall VC6.0 (and its Service Packs if
I can find them).
Any suggestions/opinions.
TIA,
Richard
I've got Visual Studio .Net installed, but I don't know it very well.
So I tried to create a plain old Win32 using the command-line complier.
I tried to compile:
************ HelloWorld.cpp *************
#include "stdafx.h"
void main()
{
printf("Hello, World\n");
}
***************** (end) *******************
with the command "cl HelloWorld.cpp" and got:
I thought that some environment variable that the compiler wanted
wasn't there, so I ran vcvars32.bat, but that didn't help.
I checked stdafx.h's (and stdafx.cpp's) existence/location: I found a
slew of them in:
F:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz
subdirectories:
I suspect that all the stdafx header/program files are centered on .Net
connections so that I need to reinstall VC6.0 (and its Service Packs if
I can find them).
Any suggestions/opinions.
TIA,
Richard