|
From: Per W. <pw...@ia...> - 2007-10-30 11:48:30
|
Hold your horses. Don't make life so complicated! We are not talking about self-modifying code, or trying to execute code from data or stack segments. M$ Windoze do close console applications as soon as they end - unless they are started from a command line. M$ own tools have a workaround built-in for this case. Dev-C++-generated console applications needs their own workaround. /pwm On Tue, 30 Oct 2007, seb_kramm wrote: > Perhaps some kind of DEP problem ? > > http://en.wikipedia.org/wiki/Data_Execution_Prevention > > Quote: > "In some instances, Data Execution Prevention can have the unintended con= sequence of > preventing legitimate software from executing. In these cases, the affect= ed software > needs to be flagged as being allowed to execute code in those parts of me= mory, but > this itself leads to a possible attack if the application isn't rigorous = in > validating data that is passed into a region of memory that is marked as = being > executable." > > I > > Benson Mwangi a =E9crit : > > Hello, > > > > Is there anyone who would come in handy to help me diagnose whatever is > > happening to my Dev C++ compilation. > > > > I am running on a windows Vista platfrom (which really sacks)! I have > > installed Deve C++ and it's successfully compiling the code without any > > erros or warnings but the exe file does not run! > > > > Kindly help me. > > > > The compilation result is as follows.... > > > > Compiler: Default compiler > > Compiler: Default compiler > > Executing g++.exe... > > g++.exe "C:\Users\Benson\Desktop\test.cpp" -o > > "C:\Users\Benson\Desktop\test.exe" > > -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" > > -I"C:\Dev-Cpp\include\c++\3.4.2\backward" > > -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4= =2E2" > > -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" > > Execution terminated > > Compilation successful > > > > Kind Regards > > > > Benson > > > > > > > > -----------------------------------------------------------------------= - > > > > -----------------------------------------------------------------------= -- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > -----------------------------------------------------------------------= - > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |