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]
# 1 Re: Windowless Windows application?
Look here ( http://www.dev-archive.com/forum/showthread.php?t=378524&p=1345744).

Cheers
golanshahar at 2007-11-10 23:35:00 >
# 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;
}
kirants at 2007-11-10 23:37:04 >
# 4 Re: Windowless Windows application?
ah! thank you so much!
flamey at 2007-11-10 23:37:58 >