Intel® Fortran Compiler 17.0 Developer Guide and Reference
COM Subroutine: Passes a file name and returns a pointer to the IDispatch interface of an automation object that can manipulate the file.
USE IFCOM
CALL COMGetFileObject (filename,idispatch,status)
filename |
The path of the file 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 the CreateBindCtx or MkParseDisplayName routines, or the IMoniker::BindToObject method. Must be of type INTEGER(4). |