February 01, 2003
Avoiding the Visual C++ Runtime Library
Listing 3 A common implementation to be compiled and linked into your program
int APIENTRY synesisWinMain(HINSTANCE,
HINSTANCE,
LPSTR,
int)
{
int iRet;
iRet = WinMain( GetModuleHandle(NULL),
NULL,
GetAdjustedCommandLine(),
GetWindowShowState());
trace_leaks();
return iRet;
}
|
|
||||||||||||||||||||||||||||
|
|
|
|