12.07.2015 Views

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

Intel® Fortran Libraries Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2 Intel <strong>Fortran</strong> <strong>Libraries</strong> <strong>Reference</strong>SyntaxCALL COMGetFileObject (filename, idispatch, status)filenameThe path of the file of type CHARACTER*(*).idispatchAn output argument that returns the object’s IDispatch interface pointer. Must be of typeINTEGER(4).statusThe status of the operation. It can be any status returned by the CreateBindCtx orMkParseDisplayName routines, or the IMoniker::BindToObject method (see the Microsoft*Platform SDK). Must be of type INTEGER(4).COMInitializeCOM Subroutine: Initializes the COM library. This subroutine is only available on Windows*systems on IA-32 processors.Module: USE IFCOMSyntaxCALL COMInitialize (status)statusThe status of the operation. It can be any status returned by OleInitialize (see the Microsoft*Platform SDK). Must be of type INTEGER(4).You must use this routine to initialize the COM library before calling any other COM or AUTOroutine.Exampleprogram COMExampleuse ifwinuse ifcomuse ifautoimplicit none! Variablesinteger(4) word_appinteger(4) status2-36

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!