Hi,
I'm using Code::Blocks. You know, you can choose between "Debug" and "Release" when compiling a project and if you choose the first, there will be a console window for debugging purposes.
When I close my project the normal way (with exit or ending the main() method) everything works fine.
But when I close the debugging console of Code::Blocks, Windows gives me an error. The Debugger says the following:
#0 5F0D530E glDeleteTextures() (C:\WINDOWS\system32\opengl32.dll:??)
#1 6871CF5C sf::Image::~Image() (C:\WINDOWS\system32\sfml-graphics.dll:??)
#2 00404357 __tcf_2() (D:\Programme\CodeBlocks\Projects\Shooter\spriteset.cpp:6)
#3 77C09E24 msvcrt!_initterm() (C:\WINDOWS\system32\msvcrt.dll:??)
#4 77C09EC5 msvcrt!_cexit() (C:\WINDOWS\system32\msvcrt.dll:??)
#5 00000000 0x00000000 in ??() (??:??)
I'm using SFML 1.6.