X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Oct 2007 10:56 AM by  anon
ActiveX control works under 6.1/6.3 but not 6.4
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
01 Oct 2007 10:56 AM
    I have been using the Catalyst SocketWrench ActiveX control in my IDL programs to create a socket server that throws events when data arrives at a port. The current IDL socket code does not allow this without a great deal of overhead/CPU time. My code uses the WIDGET_ACTIVEX call to link in the socket tool, and it works just fine under IDL 6.1 and IDL 6.3. When I try to run it under IDL 6.4, the WIDGET_ACTIVEX line works OK, but the code crashes the first time I try to set/get a property. I have installed the Dispatch Dump DLM by Abraham Cambell off the ITT code library. It show that both 6.3 and 6.4 can "see" the properties and methods of the ActiveX tool. But in 6.4, when I try the following, oSock->GetProperty, localaddress = localIP I get the following error: IDLCOMACTIVEX$CLSID$B94DC122_5EB7_4EED_8C6C_9E0022FD9AC3::GETPROPERTY: Unable to access property LOCALADDRESS Unable to get COM error information or there is no COM error information available. Again, IDL 6.1 and 6.3 do not throw any errors. Any help would be appreciated. Thanks, Brian.
    You are not authorized to post a reply.