You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Trevor Thomson <tr...@laseranalysis.com> on 2004/04/01 05:14:06 UTC

Compiling Xerces into the .exe and memory managers.

Hi all,

I have been using Xerces C 2.2.0 (WinXP, BCB5) for about 6 months now and
found it to be quite a good library.  Up until now I have been using the dll
(compiled using BCB5) and a .lib file to statically link the library.  I
have recently read that I should be using the same memory manager for both
the .exe and the .dll.  To do this I would need to use the borland run time
library and distribute the associated dlls with the application.  We would
prefer not to have to worry about extra dlls and so another possible
solution is to compile the Xerces C source into our .exe.  Has anyone done
this before?  Is it possible?

I have started to do this but, due to being unfamiliar with the internal
workings of the code, have had problems.  The latest being :  Error
directive: A transcoding service must be chosen.

I think I understand what it is saying but an unsure how to go about
including the transcoding service.


Can anyone help with my specific problem or am I, perhaps, going about this
the wrong way?


Thanks,

Trevor Thomson

Laser Analysis Technologies
www.laseranalysis.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


RE: Compiling Xerces into the .exe and memory managers.

Posted by Trevor Thomson <tr...@laseranalysis.com>.
Thanks, 

I think I have finally managed to get it to work.

Trevor Thomson
Laser Analysis Technologies
www.laseranalysis.com 

-----Original Message-----
From: Vitaly Prapirny [mailto:marl@mebius.net] 
Sent: Thursday, 1 April 2004 5:31 PM
To: xerces-c-dev@xml.apache.org
Subject: Re: Compiling Xerces into the .exe and memory managers.


Hi,

Trevor Thomson wrote:
> I have started to do this but, due to being unfamiliar with the 
> internal workings of the code, have had problems.  The latest being :  
> Error
> directive: A transcoding service must be chosen.
You should use something like XML_USE_WIN32_TRANSCODER in you project 
defines.

Good luck !


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Re: Compiling Xerces into the .exe and memory managers.

Posted by Vitaly Prapirny <ma...@mebius.net>.
Hi,

Trevor Thomson wrote:
> I have started to do this but, due to being unfamiliar with the internal
> workings of the code, have had problems.  The latest being :  Error
> directive: A transcoding service must be chosen.
You should use something like XML_USE_WIN32_TRANSCODER in you project 
defines.

Good luck !


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org