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 oriel bergig <be...@cs.bgu.ac.il> on 2001/09/20 14:09:54 UTC

using differnt instances of the parser causes ACCESS Violation

hi,
generally what im trying to do is:
// on module 1
  XMLPlatformUtils::Initialize();
  pParser = new DOMParser();
  delete pParser;
  XMLPlatformUtils::Terminate();
// on module 2
  XMLPlatformUtils::Initialize();
  pParser = new DOMParser();
  delete pParser;
  XMLPlatformUtils::Terminate();

i must use it that way (on differnt modules that run under the same
apllication)
but i get:
First-chance exception in TESTAPP.EXE (NTDLL.DLL): 0xC0000005: Access
Violation.
if i load differnt Dlls for each module it works, but its not a good
solution for me, because i have a unknown number of modules....
its not threads, just differnt module syncronicly,

any idea ?
thanks
Oriel






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