On 12/18/2011 8:57 PM, ushanair wrote:

Hi Dave,

Thanks for the response!!
Can you please let me know, how do i initialize the library ?
I have built static version of xerces and xalan library and linked to my
application.
Look at the sample applications. You'll see calls to:

XMLPlatformUtils::Initialize()

and

XalanTransformer::initialize()

which initialize the library.  You'll also see calls to"

XMLPlatformUtils::Terminate()
XalanTransformer::terminate()

which release all statically allocated memory. You don't need to call these unless you're using memory diagnostic utilities that can't handle tracking live memory blocks, or if your process will continue to live after you've terminated the libraries.

Dave

Reply via email to