|
From: Benjamin R. <Ben...@ep...> - 2003-04-10 19:22:31
|
Hi Valentine,
Sinitsyn Valentine <Val...@us...> writes:
> <CODE BEGIN>
> #include <windows.h>
>
> int WINAPI WinMainCRTStartup (HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR
> lpszCmdParam, int nCmdShow)
>
> {
> return 0;
> }
> <CODE END>
>
> [...]
>
> Does anyone know how to make this to link correctly?
The correct user-level entry point in Windows programs is
WinMain(HINSTANCE,HINSTANCE,LPSTR,int). With most compilers You can
also use main(int,char**).
So why should your code link? What's your purpose? Or am I missing
something?
so long, benny
|