What version are you using? Calling Initialize() multiple times was not supported until version 1.5.2.
-----Original Message----- From: Racine, Michel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: Multiple Init and Terminate Hi. I need to be able to initialize, parse and terminate multiple consecutive times in my application. The following code sample will crash 100% of the time: int main(int argC, char* argV[]) { for(int i=0;i<3;i++) { XMLPlatformUtils::Initialize(); DOMParser * parser = new DOMParser; delete parser; XMLPlatformUtils::Terminate(); } return 0; } The same if I declare the parser as DOMParser parser. It crashes the second time I declare the parser. The doc says it should work. I think I am missing something. Any help would be greatly appreciated since we are thinking to integrate Xerces in our Web based storage management solution. Thanks. Michel Racine System Analyst Enterprise Virtual Array (Storage Division) Compaq Computer Corporation --------------------------------------------------------------------- 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]
