Unable to find an entry point in an external DLL

  • Thread starter Thread starter BillK001
  • Start date Start date
B

BillK001

Guest
I'm trying to use Visual Studio 2019 to build a Win32 GUI for legacy F77 FORTRAN software. IN VS, I've used

Public Declare Sub Test Lib "C:\AA\TestInp.dll" Alias "Test2" (ByVal IGUI2 As Integer) to declare the DLL. I've boiled the FORTRAN subroutine down so it's as simple as possible with a StdCall option line. I use specific folder C:\AA\ to save the DLL.

Within an event handler, LoadLibrary is called to load the DLL, Test is called, and FreeLibrary is called to release the DLL.

I've tried various options based on the VS online documentation, but I'm still getting the entry point error. Is there anything else I can try?

Continue reading...
 
Back
Top