Gowri kuppa
October 11th, 1999, 10:56 AM
Hello ,
I am realtively new using visual c++. I have 2 questions.
1) I have to make a dll and export classes from c++ 6.0, so that
I can call them from visual basic 6.0. For this purpose do I have to write a COM server dll ? Can this be done using MFC extended dlls ? I made a MFC extended dll , but not able to reference that through VB.
2) I have a Fortran dll prepared on NT that has some exported functions. I am trying to call the dll from C++. I only have the dll , no Lib file or anything , so I tryed to use explicit linking. But my loadlibrary and Getprocaddress fails returning me an error code of 120. But VB is able to call the same dll and give me results .
Any help on these 2 issues will be highly appreciated.
Gowri
I am realtively new using visual c++. I have 2 questions.
1) I have to make a dll and export classes from c++ 6.0, so that
I can call them from visual basic 6.0. For this purpose do I have to write a COM server dll ? Can this be done using MFC extended dlls ? I made a MFC extended dll , but not able to reference that through VB.
2) I have a Fortran dll prepared on NT that has some exported functions. I am trying to call the dll from C++. I only have the dll , no Lib file or anything , so I tryed to use explicit linking. But my loadlibrary and Getprocaddress fails returning me an error code of 120. But VB is able to call the same dll and give me results .
Any help on these 2 issues will be highly appreciated.
Gowri