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.

Inquiring a module at runtime

rahzan
New Contributor I
671 Views
Is there a way to tell if a certain routine exists in a module at run time?

Tim
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
671 Views
A module? How can you even compile the code with a missing module?

If you mean a DLL, you could query its existence using LoadLibrary and then use GetProcAddress to reach its address and call it. See LOADEXP1 CVF sample or search this Forum for GetProcAddress.

Jugoslav
0 Kudos
rahzan
New Contributor I
671 Views
Yes I meant a module in a DLL.

Thanks for the lead on the sample,
I just found it myself too.

Tim
0 Kudos
Reply