I'm having some kind of trouble i couldnt understand much..
i compile my code in VS9 and it compiles withouth any warning but when i launch the executable it doesnt show me anything
so i decided to build in debug mode and debug the thing..
the first problem was about linking my
Code: Select all
Ogre::ConfigFile::SectionIterator seci = cf.getSectionIterator();
after comemnting out the problem went away. but when i start the debugging, the code would always stop on the "Disassembly" in the line
Code: Select all
0041128A jmp WinMainCRTStartup (414347h)
Code: Select all
'ROTUDebug.exe': Loaded 'C:\Documents and Settings\Efe\Desktop\ROTU\bin\Debug\ROTUDebug.exe', Symbols loaded.
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'ROTUDebug.exe': Loaded 'C:\Documents and Settings\Efe\Desktop\ROTU\bin\Debug\OgreMain_d.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcp90d.dll', Symbols loaded.
'ROTUDebug.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcr90d.dll', Symbols loaded.
'ROTUDebug.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_6f74963e\msvcr90.dll', Symbols loaded.
'ROTUDebug.exe': Loaded 'C:\Documents and Settings\Efe\Desktop\ROTU\bin\Debug\SDL.dll', Binary was not built with debug information.
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\winmm.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\cssdll32.dll', Binary was not built with debug information.
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\version.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\shell32.dll'
First-chance exception at 0x7c90b1fa in ROTUDebug.exe: 0xC0000005: Access violation writing location 0x00000010.
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\cssdll32.dll'
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\shell32.dll'
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\shlwapi.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\guard32.dll'
'ROTUDebug.exe': Loaded 'C:\WINDOWS\system32\ole32.dll'
First-chance exception at 0x77e760c5 in ROTUDebug.exe: 0xC0000005: Access violation reading location 0x00000000.
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\guard32.dll'
'ROTUDebug.exe': Unloaded 'C:\WINDOWS\system32\ole32.dll'
i'm out of solutions for now and would appriciate much if someone would point out anything