Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29242 Discussions

call a created dll fortran from visual basic

ixi-pixi
Beginner
436 Views

hi everybody

i have created a fortran dll Mod1.dll which uses some numerical functions. that's why in thecode ive added

use numerical_libraries

i call this library from a visual basic program that ive created. when i do this in a pc where fortran is installed, i dont have any problem. when i do it in a pc whitout fortran, it doesnt work because it cant find the library. that may be because the numerical libraries arent in this pc. what can i add so it can work?

ive got fortran in my pc and ive found numerical_libraries.mod and other files inside imsl\include and imsl\lib. what should i add and in which path?

thanks a lot. thats a big problem for m

0 Kudos
2 Replies
anthonyrichards
New Contributor III
436 Views
When linking your DLL, make sure you use Static libraries (not DLL libraries), then all the required IMSL stuff ought to be included with your DLL and it will not go searching for other DLLs to load when you call your DLL.

0 Kudos
Steven_L_Intel1
Employee
436 Views
0 Kudos
Reply