Page 1 of 1

64 Bit Shell Extension

Posted: Sat Apr 24, 2010 9:25 pm
by localmotion34
Hi all,

I have been playing with the examples of the shell extensions on the forums here, and they all apparently seem to fail when registering the DLL. I am using PB 4.5b3 x64 and compiling to an x64 DLL.

Basically, what I want to do is create a shell extension similar to ClipName. This ShellEx lets you copy a filename either with or without the path to the clipboard. I'd like to take is a step forward, and add subhandlers for MP3s that let you copy the filename alone without the extension so you can paste it into Google and search for IDTag artwork.

I was just wondering if anyone has got any of these shell extension working in the x64 environment. If so, can you post some source so I can see where I am going wrong?

Re: 64 Bit Shell Extension

Posted: Fri Apr 30, 2010 12:23 am
by breeze4me
To register x64 DLL file, the caller should have the administor privilege.

Compile a program(caller) with 'request admin mode for vista' compiler option, then run and call DllRegisterServer() of the DLL to register the DLL file. This is the way I'm using to register x64 dll on vista x64.

btw, did you change most of the type .l .long into .i and .integer of the source code?