Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. flamandier

    Calling a Fortran DLL from EXE : Pb with STDCALL

    Yes, i tried,bur it does not work if i put "DLLIMPORT" only , linking fails because symbol _TESTMETHOD is not found if i put "DLLIMPORT, STDCALL", linking fails because symbol _testmethod is not found method name in dll is "testmethod".
  2. flamandier

    Calling a Fortran DLL from EXE : Pb with STDCALL

    Hi, I try to call a fortran DLL (testdll.dll) from a Fortran Exe (testexe.exe). In my testexe Project, I added testdll.lib. testexe does not link well . it does not find functions in testdll.dll. Error messages areabout symbol not found. in testdll project , subroutinetesmethod is declared...
  3. flamandier

    Calling Fortran DLL inside Fortran Exe

    After HOURS of reserach , I managed to get rid of the second compilation error: dfordll.lib(DFORMAIN.OBJ) : error LNK2001: unresolved external symbol __imp___fpieee_flt I made a Copy/paste of the solution it, because there's no link on it. I found it inside a archive Zip file on HP website... I...
  4. flamandier

    VB6 usage with Fortran DLL : size problem ?

    Hi, I face in my application serious size problems. I tried to isolate the problem, but I still don't get the explanation. Here is the VB6 part : ---------------------- Type TY_VB6_Doubles double1 As Double End Type Type TY_VB6_Test testdoubles() As TYDoubles End Type Public Declare Sub...
  5. flamandier

    Calling Fortran DLL inside Fortran Exe

    Hi, I am not sur I understand you well. I added ( " Add File to project " ) the .lib files , and it was enough to remove the first Link Error: FortranTestExe.obj : error LNK2001: unresolved external symbol _FORTRANTESTDLLSUB@0 For the second one : dfordll.lib(DFORMAIN.OBJ) : error LNK2001...
  6. flamandier

    Calling Fortran DLL inside Fortran Exe

    Thanks ! It didn't work at first, but it was necessary to do this indeed. I also had to add "FortranTesyDLLSub.lib" file into my "exe" project, and then it worked.
  7. flamandier

    Calling Fortran DLL inside Fortran Exe

    Hi, here is my exe : program FortranTestExe implicit none call FortranTestDLLSub end program FortranTestExe And here is my DLL: subroutine FortranTestDLLSub !DEC$ ATTRIBUTES DLLEXPORT::FortranTestDLLSub print *,'Hellow World' end subroutine FortranTestDLLSub DLL compiliation is...

Part and Inventory Search

Back
Top