|
From: Earnie B. <ea...@us...> - 2004-09-27 11:54:34
|
Shanti Rao wrote: > Hi folks, > > When I run a console program from the console, I get a message saying > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application's support team for more information. > > But it works fine when I run the program from gdb. Methinks the > console interface isn't being set up right. > > The -mwindows, -mconsole, -mole options seem to have no effect. My > linker command is presently > > gcc.exe -s -o jsdb_gcc.exe -mconsole -mwindows -mole obj\gcc\*.o > obj\gcc\jsdb.coff -lole32 -lws2_32 -lstdc++ -lodbc32 -loleaut32 > -lmapi32 -lcomdlg32 -luuid > Any suggestions? This smells as if you've an invalid memory reference somewhere. Possibly an uninitialized pointer. Earnie -- http://www.mingw.org http://sourceforge.net/projects/mingw https://sourceforge.net/donate/index.php?user_id=15438 |