Board index » cppbuilder » WinMain() application

WinMain() application


2007-08-31 04:23:52 AM
cppbuilder4
I have some applications without VCL but that do gnerate windows and use:
int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR szCmdLine, int
sw)
{
....
}
How do I compile it (make a project for it) under the CBuilder 2007 IDE?
thanks
Roland
 
 

Re:WinMain() application

File | New | Other
C++Builder Projects | Console Application
Uncheck "Use VCL" and "Console Application"
Check "Specify Project Source" and navigate for your existing source file.
HTH,
- Clayton
 

Re:WinMain() application

"Clayton Arends" < XXXX@XXXXX.COM >wrote in message
Quote
Check "Specify Project Source" and navigate for your existing source file.
Or leave it blank to create a default file and then copy/paste the existing
code into it.
Gambit
 

{smallsort}