Quit simple!
I implement Xerces like this:
- implement the .h and .hpp files
- write this line: #pragma comment(lib,
"x://projekte//xerces-c1_4_0-win32//lib//xerces-c_1D.lib")
So, when I write this into the DLLEntryPoint
try
{
XMLPlatformUtils::Initialize();
return E_NO_ERROR;
}
catch (...)
{
MessageBox(0,"Error initializing Utils!","ERROR",0);
return E_ERROR_CANNOT_INITIALIZE;
}
...and call LoadLibrary from my Delphi Programm, it throws me an 1114 Error
Code.
>From MSDN:
1114 A dynamic link library (DLL) initialization routine failed.
ERROR_DLL_INIT_FAILED
When i try to implement the DOMParser like this:
DOMParser dom_parser
in my hpp file, it throws me an 998 Error, when i try to load via
LoadLibrary from Delphi:
>From MSDN:
998 Invalid access to memory location. ERROR_NOACCESS
So, this is getting me mad for over 2 Weeks, do you have a solution or can
you tell me, what am i doing wrong?
BESTe Gr�sse, BEST regards
Sascha Presnac
Research & Development
BEST GmbH
Mevissenstr. 65
D-47803 Krefeld
Germany
http://www.bestcolor.com/
|# -----Original Message-----
|# From: Erik Rydgren [mailto:[EMAIL PROTECTED]]
|# Sent: Friday, June 15, 2001 1:11 PM
|# To: [EMAIL PROTECTED]
|# Subject: RE: Xerces and DLL?
|# Sensitivity: Private
|#
|#
|# Sure our system uses xerces through several DLL's.
|# What is the problem?
|#
|# Erik Rydgren
|# Mandarinen systems AB
|# Sweden
|#
|# -----Original Message-----
|# From: Sascha Presnac [mailto:[EMAIL PROTECTED]]
|# Sent: den 15 juni 2001 13:10
|# To: Xerces Mailing List (E-Mail)
|# Subject: Xerces and DLL?
|# Sensitivity: Private
|#
|#
|# Hi!
|#
|# Just a short question!
|# Has anybody sucessfully made a DLL, witch calls Xerces?
|#
|# It seems like, that i can only use Xerces within an Application.
|# Is this right?
|#
|# BESTe Gr�sse, BEST regards
|#
|# Sascha Presnac
|# Research & Development
|# BEST GmbH
|# Mevissenstr. 65
|# D-47803 Krefeld
|# Germany
|# http://www.bestcolor.com/
|#
|# -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
|#
|# 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]
|#
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]