Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/msxml3/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c index 1905f57be4..a1b9dddbfc 100644 --- a/dlls/msxml3/main.c +++ b/dlls/msxml3/main.c @@ -169,6 +169,7 @@ void* libxslt_handle = NULL; DECL_FUNCPTR(xsltApplyStylesheet); DECL_FUNCPTR(xsltApplyStylesheetUser); DECL_FUNCPTR(xsltCleanupGlobals); +DECL_FUNCPTR(xsltEngineVersion); DECL_FUNCPTR(xsltFreeStylesheet); DECL_FUNCPTR(xsltFreeTransformContext); DECL_FUNCPTR(xsltNewTransformContext); @@ -195,6 +196,7 @@ static void init_libxslt(void) LOAD_FUNCPTR(xsltApplyStylesheet, 1); LOAD_FUNCPTR(xsltApplyStylesheetUser, 1); LOAD_FUNCPTR(xsltCleanupGlobals, 1); + LOAD_FUNCPTR(xsltEngineVersion, 1); LOAD_FUNCPTR(xsltFreeStylesheet, 1); LOAD_FUNCPTR(xsltFreeTransformContext, 1); LOAD_FUNCPTR(xsltNewTransformContext, 1); @@ -204,6 +206,8 @@ static void init_libxslt(void) LOAD_FUNCPTR(xsltSaveResultTo, 1); #undef LOAD_FUNCPTR
+ TRACE("Libxslt version is %s.\n", *pxsltEngineVersion); + if (pxsltInit) pxsltInit(); return; @@ -222,7 +226,6 @@ HRESULT WINAPI DllCanUnloadNow(void) return S_FALSE; }
- BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved) { MSXML_hInstance = hInstDLL; @@ -231,6 +234,8 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved) { case DLL_PROCESS_ATTACH: #ifdef HAVE_LIBXML2 + TRACE("Libxml2 version is %s.\n", xmlParserVersion); + xmlInitParser();
/* Set the default indent character to a single tab,