Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-2849D4D3-A571-4F71-B806-D22853BF07D8
Visible to Intel only — GUID: GUID-2849D4D3-A571-4F71-B806-D22853BF07D8
COMGetActiveObjectByProgID
COM Subroutine: Passes a programmatic identifier and returns a pointer to the IDispatch interface of a currently active object. This routine is only available for Windows.
Module
USE IFCOM
CALL COMGetActiveObjectByProgID (prog_id,idispatch,status)
prog_id |
The programmatic identifier of type CHARACTER*(*). |
idispatch |
An output argument that returns the object's IDispatch interface pointer. Must be of type INTEGER(INT_PTR_KIND()). |
status |
The status of the operation. It can be any status returned by CLSIDFromProgID or GetActiveObject. Must be of type INTEGER(4). |
Example
See the example in COMInitialize.