| View previous topic :: View next topic |
| Author |
Message |
Mehmet Caner Guest
|
Posted: Sun Apr 29, 2007 8:24 pm Post subject: Windows Explorer Context Menu |
|
|
I wrote a .dll to add a menu item to Windows Explorer context menu. Dll code
is based on Remy's code below:
http://216.101.185.148/scripts/isapi.dll/article?id=076EC63A&article=2221577
I can easily register and run easily on a Windows 2000 machine. But when I
try the same operations on a Windows XP SP2 machine, I can register the
..dll file but Windows Explorer context menu shows nothing about my menu
item. (with Admin rights)
What am I missing?
Thanks! |
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue May 01, 2007 12:03 am Post subject: Re: Windows Explorer Context Menu |
|
|
"Mehmet Caner" <mcaner40 (AT) hotmail (DOT) com> wrote in message
news:4634b8d5 (AT) newsgroups (DOT) borland.com...
That link doesn't work anymore. Tamarack's links expire after awhile
because it is a session-based search engine. I strongly recommend
using Deja/Google instead (http://www.deja.com). It has a much better
search engine anyway, its links don't expire, and its archive is much
more extensive.
| Quote: | I can easily register and run easily on a Windows 2000 machine. But
when I try the same operations on a Windows XP SP2 machine, I
can register the .dll file but Windows Explorer context menu shows
nothing about my menu item. (with Admin rights)
|
Since we can't see the code you are referring to yet, there's no way
to tell you what is wrong. Have you tried debugging the DLL yet? Did
you verify that it is actually being called by Windows Explorer at
all?
Gambit |
|
| Back to top |
|
 |
Bob Gonder Guest
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue May 01, 2007 2:37 am Post subject: Re: Windows Explorer Context Menu |
|
|
"Bob Gonder" <notbg (AT) notmindspring (DOT) invalid> wrote in message
news:gomc33ddn1c7dnbp36itcv5pkimgpjf7e3 (AT) 4ax (DOT) com...
| Quote: | I believe this is the correct one from 2000
|
Wow, that is REALLY old code. I don't use such frameworks anymore.
It is easier to just create an ActiveX object with Borland's wizard
and then add the necessary hooks for the IShellExtInit and
IContextMenu interfaces into the generated Implementation class.
Gambit |
|
| Back to top |
|
 |
Mehmet Caner Guest
|
Posted: Tue May 01, 2007 2:34 pm Post subject: Re: Windows Explorer Context Menu |
|
|
| Quote: | Wow, that is REALLY old code. I don't use such frameworks anymore.
It is easier to just create an ActiveX object with Borland's wizard
and then add the necessary hooks for the IShellExtInit and
IContextMenu interfaces into the generated Implementation class.
|
Dear Bob and Remy,
Thanks both of you for your interest. It is kind of you responding me.
The code is old but really useful. My IDE is Turbo C++ 2006 Explorer.
Unfortunately it does not support ActiveX object creation. I have used the
code many times on xp machines successfully for different projects. But,
this time, I can not find the reason for the failure. I have controlled all
registry entries.
After sending my first message, I have tried the same code on another XP SP2
machine with positive result. I think the problem is on my machine.
Yours sincerely! |
|
| Back to top |
|
 |
|