User forums > Help

Stopped working on running and process gets terminated

(1/3) > >>

xboyz:
Im using CB 16.01 and win 7 OS. I type the following program on CB and build  successfully. But when run the output window come and stops working.
#include<iostream>
#include<conio.h>
#include<graphics.h>
using namespace std;
int main()
{
   initwindow(200,200);
   return 0;
}
ON running process gets terminated with status  -1073741510.
What should I do?

stahta01:
Please read the rules and state your Compiler name and version!
http://forums.codeblocks.org/index.php/topic,9996.0.html

And, if you think it is a valid Code::Blocks issue, Post a build log.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Edit: Since your code you posted is several decades old; whether you are on 32 bit or 64 bit windows operating system matters.
It will likely NOT work under 64 bit Windows. Edit2: This guess is based on the idea that your code is from the time when Compiler were 16 bit.

Tim S.

xboyz:
Im on 32 bit OS andusing GNU compiler. There are no errors on building. but when tries to run, it stops working.

stahta01:

--- Quote from: stahta01 on August 09, 2017, 05:18:56 pm ---
And, if you think it is a valid Code::Blocks issue, Post a build log.
http://wiki.codeblocks.org/index.php/FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.

--- End quote ---

So, you think it is NOT a valid CB Issue?
Edit: The above guess is based on the fact you decided NOT to post a build log.


I suggest you learn what Compiler you are using and then find a support site for it or for the graphic library you are using.

Tim S.

xboyz:
here is the build log;

-------------- Build: Debug in Examples (compiler: GNU GCC Compiler)---------------

Target is up to date.
Nothing to be done (all items are up-to-date).


-------------- Run: Debug in Examples (compiler: GNU GCC Compiler)---------------

Checking for existence: C:\Program Files\CodeBlocks\MinGW\bin\Examples\bin\Debug\Examples.exe
Executing: "C:\Program Files\CodeBlocks/cb_console_runner.exe" "C:\Program Files\CodeBlocks\MinGW\bin\Examples\bin\Debug\Examples.exe"  (in C:\Program Files\CodeBlocks\MinGW\bin\Examples\.)
Process terminated with status -1073741510 (0 minute(s), 8 second(s))
 

Navigation

[0] Message Index

[#] Next page

Go to full version