473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

First-chance exception Problem

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
2 3003
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Hung Jung Lu | last post by:
Hi, Does anybody know where this term comes from? "First-class object" means "something passable as an argument in a function call", but I fail to see the connection with "object class" or...
5
by: Mel | last post by:
i want to have a block, like some articles i see, with the first char (very Fancy and huge) and have the rest of the block kind of wrap around this char (to the right of). something like below...
12
by: Alan J. Flavell | last post by:
OK, today's email brought a comment from a reader, pointing out something that I'd long since noticed myself but hadn't done anything about it. On my pages, I've got a first-letter style on...
3
by: news.individual.net | last post by:
Hi! Can I capitalize the first letter of the first paragraph without using a special class for that <p> ? I tried it with this: body > p:first-child:first-letter { font-size: 270%;
4
by: KJ | last post by:
We use a third party software package for acctg that limits us on field size - as a result, we at times have to enter an item into the app multiple times in order to get all the information. I...
5
by: tdmailbox | last post by:
I have a form with a child form. In the child form there is a list of names that can grow quite large. On the parent form I want to display the first name from the child form. I set up a test...
2
by: captain_2010 | last post by:
hi, >From below table want only the first value of each item id. and how to get it, tried to use top n function in select statement it takes only the first record. itemid qty 1 10 1...
43
by: Roger L. Cauvin | last post by:
Say I have some string that begins with an arbitrary sequence of characters and then alternates repeating the letters 'a' and 'b' any number of times, e.g. "xyz123aaabbaabbbbababbbbaaabb" I'm...
6
by: =?Utf-8?B?UGF1bA==?= | last post by:
HI I have a stored procedure that returns data with a date field in the form of a DateTime type. I need to place data in variables based on days of the week starting with the first thursday of the...
3
by: cs | last post by:
Hi, I'm new to C and would appreciate any feedback on the following program, asplit, which splits a file into 2 new files, putting a certain number of lines in the first file, and all the rest...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.