🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
5 messages
5 total messages Started by Mehmet Caner Sun, 29 Apr 2007 15:24
Windows Explorer Context Menu
#2075
Author: Mehmet Caner
Date: Sun, 29 Apr 2007 15:24
13 lines
1415 bytes
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! 
Re: Windows Explorer Context Menu
#2080
Author: Remy Lebeau (TeamB)
Date: Mon, 30 Apr 2007 19:03
28 lines
2009 bytes
"Mehmet Caner" <mcaner40@hotmail.com> wrote in message
news:4634b8d5@newsgroups.borland.com...

> 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

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.

> 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
Re: Windows Explorer Context Menu
#2083
Author: Bob Gonder
Date: Mon, 30 Apr 2007 21:30
9 lines
1326 bytes
Remy Lebeau (TeamB) wrote:

>That link doesn't work anymore.

I believe this is the correct one from 2000 (I read it yesterday when
the original link was still working):

http://groups.google.com/group/borland.public.cppbuilder.winapi/msg/61bb3a2463d6e8fa
http://tinyurl.com/28rqlo
Re: Windows Explorer Context Menu
#2084
Author: Remy Lebeau (TeamB)
Date: Mon, 30 Apr 2007 21:37
13 lines
1404 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:gomc33ddn1c7dnbp36itcv5pkimgpjf7e3@4ax.com...

> 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
Re: Windows Explorer Context Menu
#2087
Author: Mehmet Caner
Date: Tue, 01 May 2007 09:34
19 lines
1986 bytes
> 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads