B
Bob Weiner
What's up with the pre-compiled headers in c++?
I have used c++ many years ago but mostly on unix. I have recently been
using c# in VS.Net 2003 (which i like a lot). Now I'm trying to C++ in
VS.Net 2005 and can't get the hello world program to compile.
First it was whining about not being able to find a precompiled header.
After much searching and googling, I found an option in the project
properties to stop allowing precompiled headers. I then started getting the
following linker error:
Error 1 error LNK2019: unresolved external symbol _WinMain@16
referenced in function _WinMainCRTStartup MSVCRTD.lib
Now I'm ready to push my monitor off the back of my desk (why not shoot the
messenger?).
Can someone either tell me what this is or just send a simple explanation of
how to open VS.Net 2005 and compile the hello world program without having
to throw in a lot of fancy stuff?
thanks, bob
I have used c++ many years ago but mostly on unix. I have recently been
using c# in VS.Net 2003 (which i like a lot). Now I'm trying to C++ in
VS.Net 2005 and can't get the hello world program to compile.
First it was whining about not being able to find a precompiled header.
After much searching and googling, I found an option in the project
properties to stop allowing precompiled headers. I then started getting the
following linker error:
Error 1 error LNK2019: unresolved external symbol _WinMain@16
referenced in function _WinMainCRTStartup MSVCRTD.lib
Now I'm ready to push my monitor off the back of my desk (why not shoot the
messenger?).
Can someone either tell me what this is or just send a simple explanation of
how to open VS.Net 2005 and compile the hello world program without having
to throw in a lot of fancy stuff?
thanks, bob