Hi,
I'm also having the same problem as Francis when I try
to declare the DOMParser ("DOMParser parser;"). When
my program (a shared library running on HPUX 11)
reaches that line, it crashes generates a "Memory
fault(coredump)". I call the XMLPlatform::Intialize()
command just before trying to declare the parser and
it seems to run fine. I'm trying to port my
application from a windows environment (where it runs
fine) to unix.
Abhay -- I hope this isn't a stupid question, but
would you mind elaborating on what you meant by "check
initialization of your static class variables"? I
don't quite understand--I don't think I have any
static class variables in my app (I'm still fairly new
to c++ and unix, so again I'm sorry if I'm missing
something basic).
If anyone has any other thoughts on what the problem
might be, I would love to hear them. This is really
causing problems for me!
Thanks!
Amy
-----Original Message-----
Subject: RE: Need Help!!
From: "Abhay Chaudhary"
<[EMAIL PROTECTED]>
Date: 2001-11-07 5:30:14
[Download message RAW]
Hello,
I had this problem earlier and as I remember best,
check initialization
of your static class variables where you create the
parser object. I had
some problem with initialization of static class
variables particularly
those classes from the Xerces library.
It's not some concrete solution but I hope it helps.
Abhay.
-----Original Message-----
From: Francis B�liveau
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 31, 2001 9:43 PM
To: '[EMAIL PROTECTED]'
Subject: Need Help!!
Hi!
I have a problem when I try to use DOMParser class.
I have a acces violation ("First-chance exception in
dllhost.exe
(XERCES-C_1_4D.DLL): 0xC0000005: Access Violation" ).
This error occurs just after the declaration of the
object of type
DOMParser:
DOMParser parser;
or
DOMParser *parser = new DOMParser();
I include all necessary hpp and xerces-c_1_4d.lib
Note: I use this code in COM Object.
If anyone can help me, I would appreciate.
Thanks!!
_______________________________________________________
Build your own website in minutes and for free at http://ca.geocities.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]