Article View: borland.public.cppbuilder.nativeapi
Article #16926Re: Further to long question
From: Chris
Date: Mon, 21 Apr 2003 10:35
Date: Mon, 21 Apr 2003 10:35
65 lines
3038 bytes
3038 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3ea37a64$1@newsgroups.borland.com...
>
> Just saying "it doesn't work" says nothing at all about the actual
problems
> you're seeing. Please always be more specific about the actual symptoms
> you're experiencing.
>
You're right, when I say it doesn't work I mean it doesn't do anything. I
don't know if it's an issue in the BCB code or in the registry.
I don't know how to debug an in-process server in BCB so for the moment I
have just entered "ShowMessage("In somewhere") in every routine. It shows
three messages when being first registered with regsvr32 (which is
successful) the messages indicate that it is loading, registering and then
loading again?
It never shows any messages when I right click a cpp file (as per the
example)
As this lead me to believe that I must be making a mistake in the registry I
did the following:
I have a VB sample that works, it comes with a REG file to register the
handler against OCX files. I change the GUID in the reg file to mine and it
still does not work. (I include the registry text at the bottom).
Any help would be great,
Thanks,
Chris
[HKEY_CLASSES_ROOT\.OCX]
@="ActiveX_File"
[HKEY_CLASSES_ROOT\ActiveX_File]
@="Windows ActiveX Controls"
[HKEY_CLASSES_ROOT\ActiveX_File\shellex\ContextMenuHandlers]
@="ActiveX_FileMenu"
; ***---modify the Clasid entry below---***
; replace {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} with a valid Clasid
entry...
; ***-----------------------------------***
[HKEY_CLASSES_ROOT\ActiveX_File\shellex\ContextMenuHandlers\ActiveX_FileMenu
]
@="{A65AD1B6-B38A-4391-974E-669D9B1C8200}"
; ***---modify the Clasid entry below---***
; replace {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} with a valid Clasid
entry...
; ***-----------------------------------***
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell
Extensions\Approved]
"{A65AD1B6-B38A-4391-974E-669D9B1C8200}"="ActiveX File Extension"
Technical Details
Message-ID:
<3ea3c967$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ea32cdc@newsgroups.borland.com> <3ea37a64$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,5db4be22314e6061 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-21 03:46:25 PST From: "Chris" <chris@chrischfmouseyREMOVE.karoo.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea32cdc@newsgroups.borland.com> <3ea37a64$1@newsgroups.borland.com> Subject: Re: Further to long question Date: Mon, 21 Apr 2003 11:35:27 +0100 Lines: 68 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 213.249.184.219 Message-ID: <3ea3c967$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050921319 213.249.184.219 (21 Apr 2003 03:35:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail