> Are you using the non-debug version in windows as 
> well as it being single threaded?

Yes. ("win 32 release" - "single threaded" for the release version)

I have read the FAQ about "Why does deleting a transcoded string result
in assertion on windows?"
http://xml.apache.org/xerces-c/faq-build.html#faq-12 but in my case the
xmlstring::release method doesn't work with xmlstring::replicate method
(it works with xmlstring::transcode)...


Library used :
"Xerces-C++ 2.3.0 and earlier archived stable releases" 'compiled as
Multithreaded DLL' (default lib)


- debug build -
xerces-c_2_3_0D.dll and xerces-c_2D.lib
Example compiled as a "Win 32 debug" - "debug single threaded"
it's works fine

- release build -
xerces-c_2_3_0.dll and xerces-c_2.lib
Example compiled as a "Win 32 release" - "single threaded"
an error occurs 

output :

Hello World!
release sLocalName
release sLocalNameCopy

HEAP[xercesctest.exe]: Invalid Address specified to RtlFreeHeap(
00330000,
00350F80 )

--- 2
I have compiled xercesc as a "single-threaded" library 
(release) but pb is the same.

--- 3
i have also compiled DOMTest (a xercesc sample that uses methods
xmlstring::replicate and xmlstring::release) as a win32 release
single-threaded 
when running DOMTest, the same error occurs...


Regards

Emmanuel T.


____________________________________________________________________
- http://www.WebMailSPro.com - >> 
Cr�er votre WebBased email pour avec votre propre nom de domaine 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to