Software Archive
Read-only legacy content

Optional DLLs

Intel_C_Intel
Employee
462 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
462 Views
You use the Win32 API routines LoadLibrary and GetProcAddress. For an example, see CVF-provided sample DLLLOADEXP1

Steve
0 Kudos
Reply