473,414 Members | 1,688 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,414 software developers and data experts.

Problems with reading xml-files

Hello!

My program reads xml files. If I start it on a computer with winXp with
SP2, the following error will arise: "... (NTDLL.DLL): 0xC0000005:
Access Violation". If I start it on a computer with SP1 it will work
troublefree. I have no idea about the reason.

I have developed it with Visual Studio 6 (SP6). I have isolated the
error. The error occurs, if the method IXMLDOMDocumentPtr::load is
called.

Any idea?

Best regards
Meinert

Dec 9 '05 #1
3 1683
Meinert Schwartau wrote:
My program reads xml files. If I start it on a computer with winXp with
SP2, the following error will arise: "... (NTDLL.DLL): 0xC0000005:
Access Violation". If I start it on a computer with SP1 it will work
troublefree. I have no idea about the reason.
Apparently, service pack 2 screws up your program. Or your program has
undefined behaviour. Pick the reason that sounds better to you.
I have developed it with Visual Studio 6 (SP6). I have isolated the
error. The error occurs, if the method IXMLDOMDocumentPtr::load is
called.

Any idea?


Sure. The bug is on line 42 of that function.

V
Dec 9 '05 #2
Meinert Schwartau wrote:
Hello!

My program reads xml files. If I start it on a computer with winXp with
SP2, the following error will arise: "... (NTDLL.DLL): 0xC0000005:
Access Violation". If I start it on a computer with SP1 it will work
troublefree. I have no idea about the reason.

I have developed it with Visual Studio 6 (SP6). I have isolated the
error. The error occurs, if the method IXMLDOMDocumentPtr::load is
called.

Any idea?

Best regards
Meinert


Hello!

(I assume that you have coded in the language we discuss in this news
group.) I suggest that you look at the code for the method you mention
and try to find the error in there, if that is where the error occurs as
you say. If you provide the code for that method here, you will probably
get a more informative answer.

Regards,
Peter Jansson
Dec 9 '05 #3
Meinert Schwartau wrote:
Hello!

My program reads xml files. If I start it on a computer with winXp with
SP2, the following error will arise: "... (NTDLL.DLL): 0xC0000005:
Access Violation". If I start it on a computer with SP1 it will work
troublefree. I have no idea about the reason.

I have developed it with Visual Studio 6 (SP6). I have isolated the
error. The error occurs, if the method IXMLDOMDocumentPtr::load is
called.

Any idea?

Best regards
Meinert


This post is off-topic in this newsgroup since, as far as I can tell,
there's no standard C++ *language* question here. Rather your problem
seems to be with a Microsoft-specific class, and you will likely get
more help in a Microsoft-specific newsgroup. See the FAQ for what is
on-topic here and for some suggestions of better places to ask this
question:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Dec 9 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: fremenusul | last post by:
am trying to have XML data show results in a combobox (Which works) and when the combobox has a selection, change the text in a label field. I am following the video from...
0
by: arshad | last post by:
Hi, I am facing some problems in reading XML file into dataset in vb.net. The XML is having some duplicate tabels. I am getting the error message saying "The same table(imei_details) cannot be...
0
by: eastlands | last post by:
Not sure if this is an xml or a ado.net question: I have created an xml document from a .net dataset which contains a DateTime column, however all the time elements are set to 00:00:00. example...
4
by: Wayne Wengert | last post by:
I am still stuck trying to create a Class to use for exporting and importing array data to/from XML. The format of the XML that I want to import/export is shown below as is the Class and the code I...
0
by: Prasad Dannani | last post by:
Hi, I have some problems in reading xml data using webrequest, response and dataset objects. This program i am executing from last 6 months its worked fine. but now its throwing some exceptions....
4
by: Jonathan [sbrodolo] | last post by:
Hi there, I am using a LOTUS/DOMINO Web Service in my ASP.Net application and I am having quite a lot of problems. I have managed to solve most of them but this one it really is giving me terrible...
0
by: kevlar | last post by:
I am having some problems reading xml into a dataset and having it set up the datatables within it properly. i serialize an object into xml and read that xml into the dataset and the code i am...
0
by: neoret | last post by:
Hello. I have developed an application (an office addin).The application works fine with no error messages on my devoping machine (that machine is not connected to any domains). I have...
0
by: neoret | last post by:
Hello. I have developed an application (an office com addin).The application works fine with no error messages on my devoping machine (that machine is not connected to any domains). I have...
0
by: panos100m | last post by:
Hi i can read everything from my xml file except a part that i can always get teh first items of each category (it will make more sence in a sec) So here is my xml <?xml version="1.0"...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.