Crash under Vista with Ave's Vista Stuff

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
robc
Posts: 164
Joined: Mon Nov 14, 2005 12:53 pm

Crash under Vista with Ave's Vista Stuff

Post by robc »

Following XnTriq advice here http://newsgroup.xnview.com/viewtopic.php?p=62695#62695 I installed the HTML Explorer Thumbnails http://mpj.tomaatnet.nl/vista/htmlpreviews.html.

Now whenever I browse to a folder containing HTML files with XnView, as soon as it tries to render the file XnView crashes. Going into debug the VS 2005 SP1 debugger only reports a buffer overrun in XnView and the call stack shows a call to Ave's shell extension... it looks like XnView is correctly trying to render the file like it does on XP, calling the OS but now it finds this extension instead of XP's shdocvw and crashes.

I need either to unregister Ave's DLL or uncheck "show as thumbnail" for HTML, HTML and MHT files in XnView. It seems the extension works, Pierre, if you could just make XnView interface with it we could have HTMLK thumbnails under Vista also. But I'm afraid you cannot do any testing under XP, you need Vista since I don't think the extension is going to work under XP.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash under Vista with Ave's Vista Stuff

Post by xnview »

Ok, i'll check
Pierre.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash under Vista with Ave's Vista Stuff

Post by xnview »

The registering of the DLL doesn't work on Vista for me :-(
Pierre.
User avatar
robc
Posts: 164
Joined: Mon Nov 14, 2005 12:53 pm

Post by robc »

Don't use the .bat file, simply open a command prompt, go to the folder where the DLL is and type

Code: Select all

regsvr32 HTMLPreviewShellExt.dll
It didn't work for me either... I don't know why he wrote the batch file in that way when it would have been enough to write the above line in the .bat :?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

robc wrote:

Code: Select all

regsvr32 HTMLPreviewShellExt.dll
Yes, i've tried that, but have an error??? :-(
Pierre.
User avatar
robc
Posts: 164
Joined: Mon Nov 14, 2005 12:53 pm

Post by robc »

You should do that as an administrator... open a command prompt with "run as administrator", for me it works fine.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Ok, i have the crash. But it's very strange, i've made full update of Vista, and now no more crash!!
Pierre.
User avatar
robc
Posts: 164
Joined: Mon Nov 14, 2005 12:53 pm

Post by robc »

xnview wrote:Ok, i have the crash. But it's very strange, i've made full update of Vista, and now no more crash!!
What do you mean by "full update"? Mine IS fully updated and I still get the crash.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Sorry, i have the crash again :-( But i don't understand why. It seems that the dll corrupt memory. I'll contact the author...
Pierre.
User avatar
robc
Posts: 164
Joined: Mon Nov 14, 2005 12:53 pm

Post by robc »

Any news on this, Pierre?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

robc wrote:Any news on this, Pierre?
The author must send me source code
Pierre.
Post Reply