On 4/11/06 8:21 AM, "GregO" <[EMAIL PROTECTED]> wrote: >> What kind of COM object is this? It must support automation, which >> means it >> must implement the IDispatch interface. Perhaps you got the wrong >> GUID, >> what does the OLEException message say about the error? > > William, > > Here's a copy of the IDL for the DLL. Can you tell me what I'm doing > wrong? Am I correct that this event implements the IUnknown > interface, and that's why it doesn't work?
Right. There are two ways to "bind" to this interface. One is called late binding (which REALbasic uses), and this requires that the interface support what is called a dual interface. The other way of binding is called early binding, which requires type information (from the type library that you had), but this binding occurs at the compiler level (REALbasic does not yet support this type of binding). So unless the object supports the dual interface (meaning it supports both late and early binding) then you cannot use the OLEObject. Regards, William Yu [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
