XnView MP on Windows XP: InitializeCriticalSectionEx

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
anonymous_user
Posts: 17
Joined: Tue Dec 13, 2011 2:37 am

XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView MP on Windows XP

Post by XnTriq »

Removing \plugins\webp.dll should stop this message from appearing.
anonymous_user
Posts: 17
Joined: Tue Dec 13, 2011 2:37 am

Re: XnView MP on Windows XP

Post by anonymous_user »

Thank you! That works. BTW what is that plugin used for?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView MP on Windows XP

Post by XnTriq »

This library provides read and write support for Google's WebP file format.
Gizmoz
Posts: 3
Joined: Sat Mar 25, 2017 4:32 pm

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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 ?
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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.
Gizmoz
Posts: 3
Joined: Sat Mar 25, 2017 4:32 pm

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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 ? )
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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 FileFormat 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.
Gizmoz
Posts: 3
Joined: Sat Mar 25, 2017 4:32 pm

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post by Gizmoz »

Your solution worked.

Thanks again for your help and effort -
- I gratefully acknowledge that you tested the solution before proposing it.
Excellent.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: XnView MP on Windows XP: InitializeCriticalSectionEx

Post 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!
Post Reply