Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

CALL WINDOWS API

chshaoning
Beginner
617 Views
Hallo everyone,

I have a question. I want to use Fortran to call 2 WINDOWS API which are named CreateFileMapping() and MapViewOfFile(). If it is possible and how can i do it?
0 Kudos
2 Replies
anthonyrichards
New Contributor III
617 Views
To use those functions, you must include their interfaces in your code using USE IFWIN which itself USEs all the required modules for all supported Windows API functions (the object files for the two functions reside in KERNEL32.LIB) and you need to include USE IFWINTY to gain access to the flags that those two functions utilise.
I have no examples of the use of the functions mentioned, sorry. Search the Help using the function names to find out details of their arguments.
0 Kudos
Robert_van_Amerongen
New Contributor III
617 Views
The module IFWINTY is "ued" by any module that is "used" by IFWIN, so there is no need to set a separate use statement for the module IFWINTY once you use the module IFWIN.

Robert
0 Kudos
Reply