Visible to Intel only — GUID: GUID-14575BCC-00B3-4EE6-BB88-48AC2A2C64CC
Visible to Intel only — GUID: GUID-14575BCC-00B3-4EE6-BB88-48AC2A2C64CC
COMCreateObjectByProgID
COM Subroutine: Passes a programmatic identifier, creates an instance of an object, and returns a pointer to the object's IDispatch interface. This routine is only available for Windows.
USE IFCOM
CALL COMCreateObjectByProgID (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 CoCreateInstance. Must be of type INTEGER(4). |
See Also
CoCreateInstance in the OLE section of the Microsoft* Platform SDK