comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ActiveX method problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
ActiveX method problems [message #39981] Tue, 29 June 2004 08:46
b_gom is currently offline  b_gom
Messages: 105
Registered: April 2003
Senior Member
For any external development gurus out there:

I'm trying to write an interface for some hardware which uses ActiveX
controls for interfacing with the PC. The vendor supplied VB and C++
example porgrams that use them, and they work fine. The controls I
want to use do not have GUIs associated with them. However, when I try
to call any of the ActiveX methods, I get the error: "Unable to call
method BLAH. Catastrophic failure".
IDLcomIDispatch seems to create the object properly, but none of the
methods seem to be resolved. How do I debug this problem?

What ActiveX features are not supported by IDL?

Does the fact that the Interface Description file contains :

[
uuid(A4E2DC51-1A67-11D6-A2CE-0001022E1B44),
helpstring("Dispatch interface for A32CtrlControl"),
hidden
]
dispinterface _DA32Control {
properties:
[id(0x00000001)
]
long Card;
...
methods:
[id(0x00000005)]
long Open();
[id(0x00000006)]
long Close();
...

Instead of something like:

interface IRSIDemoObj1 : IDispatch {
[id(0x00000001)]
HRESULT GetCLSID([out, retval] BSTR* pBstr);
[id(0x00000002), propput]
...

have anything to do with it?

Thanks

Brad
[Message index]
 
Read Message
Previous Topic: Re: Plot problem
Next Topic: Re: ActiveX method problems

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 02:20:37 PDT 2025

Total time taken to generate the page: 0.16007 seconds