How would I create a connection from a compiler like C++ to an OLE custom interface? Primary Software: Driver Software>>NI-FBUSPrimary Software Version: 2.3.5 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: How would I create a connection from a compiler like C++ to an OLE custom interface (like the exe for our servers)? Solution: An OPC server is actually a COM object. In C++ you connect to an COM object using CoCreateInstance(). From this connection, you can access the other interfaces the OPC server supports and execute methods on those interfaces. Related Links: Attachments:
Report Date: 04/23/1998 Last Updated: 12/02/2004 Document ID: 18M7T1TI |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
