Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

The OLE Connection number from IConnectionPoint::Advise.

2013-05-08
2013-05-08
  • Hello,

    I need to implement the Refresh() method of OPCAE specification and it requires that The OLE Connection number from IConnectionPoint::Advise be provided.
    I have found this way below

       IJIComObject object = ....;
       Object[] connInfo = object.internal_getConnectionInfo(callbackID);
        connNumber = (Integer)connInfo[1];
    

    but internal_getConnectionInfo() is declared as an internal method of the framework. Could anybody suggest if there is a better way? Thank you.