Problems with reading xml-files

  • Thread starter Meinert Schwartau
  • Start date
M

Meinert Schwartau

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
 
V

Victor Bazarov

Meinert said:
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
 
P

Peter Jansson

Meinert said:
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
 
M

mlimber

Meinert said:
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-lite/how-to-post.html#faq-5.9

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,528
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top