Software Archive
Read-only legacy content
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.

Optional DLLs

Intel_C_Intel
Employee
470 Views
Hello,
I need for my programs to be able to check for the presence of my homemade Fortran DLLs, and load and use them if present, whilst ignoring them if not present. The standard CVF DLL code bombs out at startup if a DLL is not present along the path, and I need to make that optional in my programs. How do I do that?

Thanks

Steve
0 Kudos
1 Reply
Steven_L_Intel1
Employee
470 Views
You use the Win32 API routines LoadLibrary and GetProcAddress. For an example, see CVF-provided sample DLLLOADEXP1

Steve
0 Kudos
Reply