Hi all,
I create a win32 application for pocket pc with visual studio 8 like below:
1) Open vs8, create new project for win32 smart
2) In window: Application Settings
I choose Windows application
and choose Empty project.
3) In solution explorer
I add a new code cpp page, next i add very simple code like that:
#include "windows.h"
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPWSTR lpCmdLine, int nCmdShow) {
MessageBox (NULL, TEXT ("Hello France"), TEXT ("Hello2"), MB_OK);
return 0;
}
4) I complie, and everytime the vs8 make an error with OLDNAMES.lib, can't load this library.
Can some of you test and confirm that for version release of vs2005
The end of year 2005 approche, when i can buy your release, Team Microsoft

missing OLDNAMES.lib in vs8
nevelshute
This bug has been fixed in builds more recent than beta 2. It comes from the fact that the compiler we use is built off of the desktop compiler, which assumes that this library is available and implicitly adds it to the dependencies. You can work around this error in many different ways, the easiest is to pragma the library out.
Add the line:
#pragma comment(linker, "/nodefaultlib:oldnames.lib")
to your cpp file, and this problem should go away.
The fix in more recent builds is that the project system by default will pass a switch to the linker to tell it to ignore this library as a default lib, so if you happen to have a library named oldnames.lib, you would need to explicitly pass it as input to the linker.
Regarding the release date for VS2005, check out: http://blogs.msdn.com/somasegar/archive/2005/08/22/451026.aspx
Thanks,
Jeff Abraham
Visual Studio
??
I haven't worked on this in years, but from my comments above, I believe we fixed this issue in the defaults, so if you are seeing this I suspect you've tweaked either the project settings, or you aren't using the standard headers. Thanks,
Jeff
captain paul
The same fatal linker error is still in the latest version of Visual Studio 2008!
Any ideas in how many years it will be corrected