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.
Log in to post a comment.
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
but internal_getConnectionInfo() is declared as an internal method of the framework. Could anybody suggest if there is a better way? Thank you.