473,770 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\D esktop\age\age. exe',
No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ntdll.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\kernel32. dll', No symbols loaded.
'age.exe': Loaded 'C:\Qt\3.2.1Non Commercial\bin\ qt-mtnc321.dll', No
symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\user32.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\gdi32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\advapi32. dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\rpcrt4.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\shell32.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcrt.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\shlwapi.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ole32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\imm32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\winspool. drv', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcp60.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcp71.d ll', Symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcr71.d ll', Symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\wxvault.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\psapi.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\mpr.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\version.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\detoured. dll', No symbols loaded.
First-chance exception at 0x7c918fea in age.exe: 0xC0000005: Access
violation writing location 0x00000010.
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\wxvault.d ll'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\detoured. dll'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\version.d ll'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\mpr.dll'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\psapi.dll '
'age.exe': Loaded 'C:\Program Files\Google\Go ogle Desktop
Search\GoogleDe sktopNetwork3.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ws2_32.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ws2help.d ll', No symbols loaded.
'age.exe': Unloaded 'C:\Program Files\Google\Go ogle Desktop
Search\GoogleDe sktopNetwork3.d ll'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\ws2_32.dl l'
'age.exe': Unloaded 'C:\WINDOWS\sys tem32\ws2help.d ll'
'age.exe': Loaded
'C:\WINDOWS\Win SxS\x86_Microso ft.Windows.Comm on-Controls_6595b6 4144ccf1df_6
..0.2600.2180_x-ww_a84f1ff9\com ctl32.dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\comctl32. dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\uxtheme.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\xpsp2res. dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\usp10.dll ', No symbols loaded.
Desktop PC
----------

'age.exe': Loaded 'C:\Documents and Settings\Adam\M y Documents\Visua l
Studio Projects\libQGL Viewer-2.2.3-1\examples\luxo \luxo.exe', No symbols
loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ntdll.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\kernel32. dll', No symbols loaded.
'age.exe': Loaded 'C:\Qt\3.2.1Non Commercial\bin\ qt-mtnc321.dll', No
symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\user32.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\gdi32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\advapi32. dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\rpcrt4.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\shell32.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcrt.dl l', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\shlwapi.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ole32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\imm32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\winspool. drv', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\msvcp60.d ll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\glu32.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\opengl32. dll', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\ddraw.dll ', No symbols loaded.
'age.exe': Loaded 'C:\WINDOWS\sys tem32\dciman32. dll', No symbols loaded.
Jul 27 '06 #1
2 3024
"Adam Hartshorne" <ad**@dcs.warwi ck.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.publ ic.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
6750
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 with "first-class airplane ticket". I just find the name a bit strange. Also, if there are first-class objects, what would the second-class objects or economy/tourist class objects be? :)
5
5160
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 where FFFs are the fancy first char FFFFF fdafdfdsf fd afd fda fd fadf ds FFF fdfd fasd fd fads fdasf dsaf FFFFFFFFF fdafdfdsfdf fdsa fdsf adsf df a fdsaf df adsf df ad fdas fdsf
12
6033
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 paragraphs. So far, so good: some of the paragraphs begin with a link, and there are styles in the stylesheet for link, hover etc. The first letter is still displayed as styled for the paragraph's first-letter.
3
23201
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
12997
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 then created an Access DB that is linked to the information and have combined all data onto one record so that we can export to excel. The next step for me is to eliminate all the other instances of this particular item, leaving me with only the...
5
5259
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 box that is populated with the code =subfrm_media_review_sec_party.Form!first_name & " " & subfrm_media_review_sec_party.Form!last_name It works except that when I flip through the names it populates the parent form with the name of what ever...
2
1762
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 5 1 15
43
2813
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 looking for a regular expression that matches the first, and only the first, sequence of the letter 'a', and only if the length of the sequence is exactly 3.
6
4230
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 month. So the week would be week 1= (first thursday of the month through the next wed). So for example for July 07 the first thursday is july5th so the first week would be thursday july 5th , friday july 6th, sat july 7th, sun july 8th, mon...
3
419
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 in the second file. Any comments as to non-portability, stylistic infelicities, outright bugs or anything else would be very much appreciated.
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10037
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.