Is m_domParser a member variable of a _global_ object within the DLL?
Perhaps its constructor is called prior to XMLPlatformUtils::Initialize().
You are calling XMLPlatformUtils::Initialize(), right?
What happens if you change the member var to be DOMParser* m_domParser, and
then "new" the DOMParser (m_domParser = new DOMParser) after the call to
XMLPlatformUtils::Initialize()?
-----Original Message-----
From: Sascha Presnac [mailto: ]
Sent: Thursday, July 12, 2001 3:26 AM
To: Xerces Mailing List (E-Mail)
Subject: Problems with Xerces 1.5 and buiding a DLL
Sensitivity: Private
Hi!
Since Weeks now, i try to build a .dll what calls the Xerces .lib.
I have to build a .dll, because i want to access XML from Delphi.
So, i want to the .dll from Delphi and the .dll implements the Xerces
functions i need.
But, when i write this line into the Source of the .dll, i cannot call the
.dll. I can Build it, but when i call it from Delphi using "LoadLibrary", it
throws me an exception 998.
Here is what MSDN says about this:
998 Invalid access to memory location. ERROR_NOACCESS
The line i write witch is causing the problem is this one:
DOMParser m_domParser;
I have set all #defines and this stuff, but it will not work.
Can you help me?
Beste Gr�sse, BEST regards
Sascha Presnac
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
My Favorite Links:
http://www.wo-gibts-geld.de/
http://www.techcrawler.de/jamt/
http://www.profiseller.de/shop1/mega/index.php3?ps_id=P3178618
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]