Dev C++ Compiles But Doesn T Run

I am working on a time card program in Visual C++ (FYI: I am VERY new to this, so, please, be gentle with me) :) It compiles with 0 errors and 0 warnings, but when it executes I get an error message that the program needs to close. When I tried to go into Debug, it gave me 'Unhandled exception in MFCTimeCard.exe:0XC0000005: Access Violation' I click on OK and it goes to this piece of code in the AfxWinMain()

Dev C++ Compiles But Doesn T Run Video

The extension doesn’t matter for the C preprocessor, which will literally replace the line containing the #include directive with the entire content of the included file. The first step that the compiler will do on a source file is run the preprocessor on it. Only source files are passed to the compiler (to preprocess and compile it). Jun 05, 2009  dev-c Won't run any programs at all. Discussion in '. When I press compile and run, it compiles but does not run. I have to go to the directory where it puts the output files and run it from there. Anyone here got any ideas of what can be causing this? Solutions, please? It just won't run from dev.

Dev C++ Compiles But Doesn't Run

Please let me know if anyone needs more info. BTW: I did not touch this particular bit when working. I did however add the InitInstance() in a source file.
THANKS!!!

Dev C++ Compiles But Doesn T Run Lyrics

Edited by happygeek: fixed formatting
  • 3 Contributors
  • forum 5 Replies
  • 380 Views
  • 6 Days Discussion Span
  • commentLatest Postby ReaganLatest Post

jwenting1,649

Dev c++ compiles but doesn t run lyrics

The real error will be in the InitInstance() method.