Article View: borland.public.cppbuilder.nativeapi
Article #16929Re: Further to long question
From: Chris
Date: Mon, 21 Apr 2003 18:07
Date: Mon, 21 Apr 2003 18:07
32 lines
1879 bytes
1879 bytes
Eureka!!!!
Finally it works.
It turns out that I was getting confused with GUIDs. I was using the GUID
as provided by OleView (MS Tool). This looked to be right because the
sample VB used the GUID as reported by OleView.
i.e. GUID given directly by Ole View
{A65AD1B6-B38A-4391-974E-669D9B1C8200}
The one I actually needed is given by Ole View if you look into the Type
Library a bit deeper:
interface IMyContextMenuExtention : IUnknown {
};
[
uuid(C7C41DC0-40C6-43B3-AF10-8DC5C35794FB),
version(1.0),
Interestingly, I can't find this number in any of the source files, so I
don't know where it comes from?
This is also true for the example that quotes
0ABC22EB-602A-449D-A2D2-0D847869F67D . This number is not in any of the
source files?
Anyway, thanks to all for your help, now all I have to do is modify the
example so that it does what I want it to do (gulp)!
Chris
Technical Details
Message-ID:
<3ea43354$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ea32cdc@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 11:11:34 PST From: "Chris" <chris@chrischfmouseyREMOVE.karoo.co.uk> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ea32cdc@newsgroups.borland.com> Subject: Re: Further to long question Date: Mon, 21 Apr 2003 19:07:25 +0100 Lines: 36 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: 212.50.170.113 Message-ID: <3ea43354$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050948436 212.50.170.113 (21 Apr 2003 11:07:16 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail