When building C++ statically, you must call the LtXmlLib8::Register(...) code directly.
When using dynamic linkage, the code within CEnumerations::CAppLifetime::RegisterLibrary() is automatically called through the use of the static variable static Schema::CAppLifetime s_oDuumy.
However, with static linkage this is never called. You can fix this by calling the Register code directly at the start of your client application:
LtXmlLib8::Register(...);
Note: You should copy the Register line from CEnumerations::CAppLifetime::RegisterLibrary() method.
Article ID: 37, Created: 2/21/2009 at 5:33 PM, Modified: 1/12/2010 at 1:08 PM