Original Post
This is my test program:
#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int iShowCmd) {
CreateProcess("C:\\WINDOWS\\system32\\winmine.exe",0,0,0,0,0,0,0,0,0);
return 1;
} When I run it, the application closes and gives the "encountered a problem and needs to close. We are sorry for the inconvenience" error. Why does it do this? [Edited by - jtmerchant on December 26, 2004 2:28:42 PM]