Windowless Windows application?
how can i create windowless Windows app? i need to to start - no windows, dialogs, console - do some checks, exit.
sceleton example would be nice, but pointing to what i should be looking at will be appreciated.
tia!
[234 byte] By [
flamey] at [2007-11-19 22:05:34]

# 2 Re: Windowless Windows application?
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE crap, LPSTR lpCmdLine, int nShowCmd)
{
// do something here
return 0;
}
philkr at 2007-11-10 23:36:01 >

# 3 Re: Windowless Windows application?
Don't create a window.
Just create a sample Win32 app for windows subsystem with just a WinMain and do the stuff in here.
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
return 0;
}