sharpshell icon indicating copy to clipboard operation
sharpshell copied to clipboard

Preview Handler can't show on Win7 x64

Open beuckbj opened this issue 7 years ago • 1 comments

Hello, I have a Preview handler and it works nice. In the Testshell and also when I register this with the ServerManager to the Windows Explorer. But... When I register the handler with ServerRegistrationManager, it don't work. The problem I discovered is on the class PreviewHandlerRegistrar.CreatePrevhostApp on the line appIdKey.SerValue(...

The code points correct to %SystemRoot%\System32\prevhost.exe. This line is wrote on the registry as %SystemRoot%\SysWow32\prevhost32.exe. This isn't working. When I change the line manually back to system32 the handler works. Any ideas for this strange behavior?

This is the same on different computers.

Thanks for advice. previewhandlerregistrar issue

Bjoern Beuck

Workaround: In VS = ProjectStettings \ Build \ prefer 32 Bit code = unchecked

beuckbj avatar Feb 15 '18 11:02 beuckbj

Hey @beuckbj, sorry that this issue wasn't answered yet. I'll try to change that and (hoepfully) close the issue soon. Thanks for letting us know about the issue. I will check if this was fixed / is still a problem myself and try to fix it then. Feel free to share any additional info, if you've got any.

We are currently discussing/planning to rework the registration and installation process, so this might be fixed/obsolete then.

Countryen avatar Aug 30 '19 22:08 Countryen