Page 1 of 1
XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sun Mar 20, 2016 6:29 pm
by anonymous_user
When starting XnView MP on Windows XP, I get this error message:
'The procedure entry point InitializeCriticalSectionEx could not be located in the dynamic link library KERNEL32.dll'
After clicking OK, the program shows up normally and I can use it just fine. I was just wondering if this could be fixed or worked around. If not, it is not a big deal. I will just stick with XnView classic.
Re: XnView MP on Windows XP
Posted: Sun Mar 20, 2016 11:00 pm
by XnTriq
Removing \plugins\webp.dll should stop this message from appearing.
Re: XnView MP on Windows XP
Posted: Mon Mar 21, 2016 12:37 am
by anonymous_user
Thank you! That works. BTW what is that plugin used for?
Re: XnView MP on Windows XP
Posted: Mon Mar 21, 2016 12:45 am
by XnTriq
This library provides
read and write support for Google's
WebP file format.
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sat Mar 25, 2017 6:33 pm
by Gizmoz
I recently started getting exactly the same error message.
and indeed, removing webp.dll fixes the error.
However, I use XnConvert to convert to the WEBP format,
so this fix removes exactly the functionality I need.
Is there another workaround to solve this problem ?
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sun Mar 26, 2017 2:45 am
by XnTriq
Welcome to the forum, Gizmoz.
Gizmoz wrote:However, I use XnConvert to convert to the WEBP format,
so this fix removes exactly the functionality I need.
Is there another workaround to solve this problem ?
Sorry, XnView MP as well as XnConvert rely on that 3rd-party DLL.
BTW: XnView MP v0.85
won't run on XP. The same goes for the next version of XnConvert, I guess.
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sun Mar 26, 2017 3:38 pm
by Gizmoz
Thanks XnTriq, especially for the quick reply....
but converting to webp worked fine until recently,
- though I have no idea what changed on my system.
I can live without upgrading, but would like to keep
using XnConvert as before.
Can I use an older version of the dll ?
(...or any other suggestions ? )
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sun Mar 26, 2017 4:30 pm
by XnTriq
Gizmoz wrote:Can I use an older version of the dll ?
I downloaded
webp.zip (XnView.com → XnView → Additional Downloads →
I/O Plugins) and extracted
webp.dll (355'328 bytes) to the
plugins subdirectory of the MP installation on my old XP box.
The error message is gone. There's a tab for
WebP in
File →
Format settings... →
Write. I can open and save WebP files. Batch-conversion from and to WebP format also works in both XnViewMP v0.84 and XnConvert v1.73.
Please keep in mind that this XP-compatible DLL is based on an out-dated version of libwebp.
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Sun Mar 26, 2017 6:32 pm
by Gizmoz
Your solution worked.
Thanks again for your help and effort -
- I gratefully acknowledge that you tested the solution before proposing it.
Excellent.
Re: XnView MP on Windows XP: InitializeCriticalSectionEx
Posted: Mon Mar 27, 2017 1:15 am
by XnTriq
Gizmoz wrote:Your solution worked.
It was
your idea, Gizmoz

Anyhow – Thanks for confirming that the older version works on your XP too!