From: NOSPAM--bhy7702 AT grace DOT rit DOT edu (Benji) Newsgroups: comp.os.msdos.djgpp Subject: Possible causes? Date: Thu, 23 Jul 1998 03:16:50 GMT Organization: Emergency Access Locksmithing Lines: 21 Message-ID: <35b6aab0.167946801@news.netaxs.com> NNTP-Posting-Host: alpha.thehill.org To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk What are the possible causes of this code to do a GPF and not run at all in win95? #include int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,LPSTR lpCmdLine, int nCmdShow) { MessageBox (NULL, "Hello Win32", "First App", MB_OK); return 0; } Sorry, but I'm just a math programmer, trying to do a bit of windows, I'm putting a new front on my masterkeying systems. All help appreciated, and if anyone can help, and is interested in masterkeying code, I can explain....