- catch signal in win32 programming
- Posted by spleen2060@gmail.com on May 12th, 2008
hi all,
there's a way to do this in win32 programming (C/C++)
#include <signal.h>
void cleanAll()
{
sig = 1;
}
int main(int argc, char **argv)
{
signal(SIGINT, cleanup);
signal(SIGTERM, cleanup);
signal(SIGQUIT, cleanup);
signal(SIGHUP, cleanup);
while (feof(fpin) == 0 && sig == 0) {
Similar Posts
- Programming in Win32 (Development Resources) by JoeC
- MFC vs Win32 programming (Development Resources) by Merijn Vandenabeele
- Win32 Programming using C / C++ (Development Resources) by Bryan Parkoff
- win32 GUI programming (Development Resources) by Meyer von Landenhausen
- Programming Win32 in C? (Development Resources) by Matt Gregory

