I am trying to call LoadLibrary and load Delphi dll in ASP.NET application. On my production machine everything works fine (using VS integrated server), but when I place it on destination server, LoadLibrary returns IntPtr.Zero. File.Exists(libraryName) returns true. What can be the problem?
I am trying to call LoadLibrary and load Delphi dll in ASP.NET application. On
Share
most likely that delphi dll has an external dependency. if it were me, i’d write a small delphi app to load the library implicitly. when you run that helper app on the destination machine, you should get an error message on the screen that gives you the name of the missing external library.