Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-22-2010, 08:26 PM   #1
Beta Member
 
Join Date: May 2010
Posts: 3
Default Visual C++ Error

i'm trying to resurrect a visual c++ 6.0 program i wrote 6 years ago, on another computer. the program compiles, but i get

an error part way through its execution:

Loaded 'C:\Documents and Settings\Owner\Desktop\New Folder (3)\project files\Release\game.exe', no matching symbolic

information found.
Loaded 'C:\WINDOWS\system32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\mfc42.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\apphelp.dll', no matching symbolic information found.
The thread 0xA30 has exited with code 0 (0x0).
The thread 0xA64 has exited with code -1073741819 (0xC0000005).
The program 'C:\Documents and Settings\Owner\Desktop\New Folder (3)\project files\Release\game.exe' has exited with code

-1073741819 (0xC0000005).

anyway, i can't figure out how to make a debug version so that i can step through the source code. i went to project

settings and in the debug window i put the path name of the debug executable. nothing else. under tools/options, i'm not

sure what should be set there.

could someone let me know how to set-up a debug program and/or tell what might be going wrong?

i'm running on windows xp, like before, and using visual studio 6.0, like before (tho a different installation of it,

possibly a different version?).

thanks.
__________________

jimlau is offline   Reply With Quote
Old 06-15-2010, 11:08 AM   #2
Baseband Member
 
Crandon Systems's Avatar
 
Join Date: Oct 2009
Posts: 22
Default Re: Visual C++ Error

jimlau,

I have seen this before because of Data Execution Prevention (DEP), the security features in Windows (starting with SP2) that prevents code execution from non-executable memory segments.

From: http://www.0xc0000005.com/

0xc0000005 error case 10: Development Issue

If you are a software developer and you keep getting an exception with status code STATUSACCESSVIOLATION (0xC0000005), your program might attempt to violate DEP. You could try the following: If your application is designed to use executable memory, it must have this attribute set on the appropriate memory by specifying PAGEEXECUTE, PAGEEXECUTEREAD, PAGEEXECUTEREADWRITE or PAGEEXECUTEWRITECOPY in the memory protection argument of the Virtual memory allocation functions.

If the above solutions don’t help run your program in debugger. Maybe you haven’t initialized the pointer correctly. When debugger stops on a violation simply check the call stack and open every file until you see what piece of code produced the violation.

Hopefully this helps.
Crandon Systems is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 11:35 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0