Article View: borland.public.cppbuilder.nativeapi
Article #13726Importing Type Library from SolidEdge FrameWork
From: Josh Kirkpatrick
Date: Sat, 20 Sep 2003 04:23
Date: Sat, 20 Sep 2003 04:23
29 lines
1916 bytes
1916 bytes
Hello, everyone.
I'm attempting to use the SolidEdge SDK in BCB5. After I import the Type
Library and attempt to build the project, I get an Ambiguity error (below).
[C++ Error] SolidEdgeFramework_TLB.h(7062): E2015 Ambiguity between
'TComInterface<IUnknown,&IID_IUnknown>::TComInterface(IUnknown *,bool)' and
'TComInterface<IUnknown,&IID_IUnknown>::TComInterface(IUnknown *)'
This error gets thrown on the return statement of the following:
Solidedgeframework_tlb::FileUIEventsPtr __fastcall get_FileUIEvents()
{
_TDispID _dispid(/* FileUIEvents */ DISPID(77));
TAutoArgs<0> _args;
OlePropertyGet(_dispid, _args);
return (Solidedgeframework_tlb::FileUIEvents* /*[C1]*/)(LPUNKNOWN)
/*[VT_UNKNOWN:1]*/_args.GetRetVariant();
}
I've looked, but have been unable to find any reference to the FileUIEvents
statement which would require a bool value.
I haven't had much experience with COM Interfaces, so any suggestions
regarding this problem would be appreciated.
Thanks in advance,
~Josh
Technical Details
Message-ID:
<3f6bd635@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,bbfac910b2b8399e,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-19 21:26:31 PST From: "Josh Kirkpatrick" <jkirkpat@softhome.net> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Importing Type Library from SolidEdge FrameWork Date: Sat, 20 Sep 2003 00:23:24 -0400 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 68.114.164.56 Message-ID: <3f6bd635@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1064031797 68.114.164.56 (19 Sep 2003 21:23:17 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail