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

Visual fortran dll with visual basic

inasiopo
Beginner
758 Views
Hello,

I am new to mixed language programming. I have made a fortran dll file, and I am trying to use it from basic. I made it work by reading the mixed-language-help but i have a problem. When i run my vb program from te visual basic developper studio i can not have any result! Only if i make my project executable and run the exe i can have the results.
In other words only an .exe file can work with the dll.!!
Can you help me with this?

thank you in advance for any answer
Elias
0 Kudos
1 Reply
g_f_thomas
Beginner
758 Views

I sense that you're working with VB5/6 which has its own IDE and CVF which uses DevStudio 98 {or is it Visual Studio 6, no matter). Every DLL needs a client, usually an EXE. Compile your VB exe with debug symbols. Debug your DLL in the VS 6 IDE (not the VB IDE which you know is giving you problems) using the VB exe as client. You should be able to debug both your exe and dllin the VS IDE.

Gerry

0 Kudos
Reply