64 Bit Shell Extension

Just starting out? Need help? Post your questions and find answers here.
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

64 Bit Shell Extension

Post 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?

Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw
breeze4me
Enthusiast
Enthusiast
Posts: 633
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: 64 Bit Shell Extension

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