>> how to run this application in background
If it is a console application then from the linker option change
/subsystem:console to /subsystem:windows
Write a winmain function
int WINAPI WinMain(
HINSTANCE hInstance, // handle to current instance
HINSTANCE hPrevInstance, // handle to previous instance
LPSTR lpCmdLine, // command line
int nCmdShow // show state
)
{
main(...) // From this winmain call your console application.
}
Main Topics
Browse All Topics





by: rajeev_devinPosted on 2006-08-20 at 20:28:44ID: 17353485
I hope you are using windows...
/shell/sys temtray.as p
To set tray icon you need to use the function
Shell_NotifyIcon
For more help check this
http://www.codeproject.com