By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,370 Members | 1,574 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,370 IT Pros & Developers. It's quick & easy.

First-chance exception Problem

P: n/a
Hi All,

I have the following problem. I have just installed visual studio 2003
(v7.1) on a new laptop. I also have the same version installed in a
desktop pc. As a test, i tried compiling some code I wrote on the
desktop pc on the laptop. Now everything compiles and runs ok, expect
when I run with the debug on I notice this line in amongst the various
Loaded dll lines

First-chance exception at 0x7c918fea in age.exe: 0xC0000005: Access
violation writing location 0x00000010.

So I check this with what happens with the same program on the desktop
and find that the laptop is loading in way more dll, and interestingly
trying to load msvcp60.dll, msvcp71.dll, and msvcr71.dll. In comparison,
my desktop just loads in msvcp60.dll. (Full list on dll loaded below).
Both pc have exactly the same operating system, and should have the same
project settings as I simply transferred across the directory with the
program files in and opened up the existing project.

Is this the problem? If so, how do I solve it? And furthermore how do
you control the dll's that are loaded in?

Any help much appreciated,

Adam Hartshorne
Laptop
------

'age.exe': Loaded 'C:\Documents and Settings\Adam\Desktop\age\age.exe',
No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'age.exe': Loaded 'C:\Qt\3.2.1NonCommercial\bin\qt-mtnc321.dll', No
symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\winspool.drv', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcp71.dll', Symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll', Symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\wxvault.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\psapi.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\mpr.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\detoured.dll', No symbols loaded.
First-chance exception at 0x7c918fea in age.exe: 0xC0000005: Access
violation writing location 0x00000010.
'age.exe': Unloaded 'C:\WINDOWS\system32\wxvault.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\detoured.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\mpr.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\psapi.dll'
'age.exe': Loaded 'C:\Program Files\Google\Google Desktop
Search\GoogleDesktopNetwork3.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ws2_32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ws2help.dll', No symbols loaded.
'age.exe': Unloaded 'C:\Program Files\Google\Google Desktop
Search\GoogleDesktopNetwork3.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\ws2_32.dll'
'age.exe': Unloaded 'C:\WINDOWS\system32\ws2help.dll'
'age.exe': Loaded
'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6
..0.2600.2180_x-ww_a84f1ff9\comctl32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\xpsp2res.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', No symbols loaded.
Desktop PC
----------

'age.exe': Loaded 'C:\Documents and Settings\Adam\My Documents\Visual
Studio Projects\libQGLViewer-2.2.3-1\examples\luxo\luxo.exe', No symbols
loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'age.exe': Loaded 'C:\Qt\3.2.1NonCommercial\bin\qt-mtnc321.dll', No
symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\winspool.drv', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\msvcp60.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.
Jul 27 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Adam Hartshorne" <ad**@dcs.warwick.ac.ukwrote...
I have the following problem. I have just installed visual studio 2003
(v7.1) on a new laptop. [..] So I check this with what happens with the
same program on the desktop and find that the laptop is loading in way
more dll [..]

Is this the problem? If so, how do I solve it? And furthermore how do you
control the dll's that are loaded in?
Do you have a C++ *language* question? If you do, ask it. If your
question is about VC++ installation, try 'microsoft.public.vc.*'
hierarchy.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 27 '06 #2

P: n/a
Adam Hartshorne wrote:
Hi All,

[redacted]
First-chance exception at 0x7c918fea in age.exe: 0xC0000005: Access
[redacted]
Odds are you're accessing a NULL pointer. You have an error on line 42
of your code.
Jul 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.