BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Windows Explorer Context Menu

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Mehmet Caner
Guest





PostPosted: Sun Apr 29, 2007 8:24 pm    Post subject: Windows Explorer Context Menu Reply with quote



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





PostPosted: Tue May 01, 2007 12:03 am    Post subject: Re: Windows Explorer Context Menu Reply with quote



"Mehmet Caner" <mcaner40 (AT) hotmail (DOT) com> wrote in message
news:4634b8d5 (AT) newsgroups (DOT) borland.com...

Quote:
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.

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





PostPosted: Tue May 01, 2007 2:30 am    Post subject: Re: Windows Explorer Context Menu Reply with quote



Remy Lebeau (TeamB) wrote:

Quote:
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
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue May 01, 2007 2:37 am    Post subject: Re: Windows Explorer Context Menu Reply with quote

"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





PostPosted: Tue May 01, 2007 2:34 pm    Post subject: Re: Windows Explorer Context Menu Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.