in reply to Re: [OT - MS Visual Studio] How to build a dll that Win32::API can access
in thread [OT - MS Visual Studio] How to build a dll that Win32::API can access

What is the error ($! $^E ...)?

As I said in my original post, $^E contains "The specified procedure could not be found". I find that $! contains "Unknown error".

Cheers,
Rob
  • Comment on Re^2: [OT - MS Visual Studio] How to build a dll that Win32::API can access

Replies are listed 'Best First'.
Re^3: [OT - MS Visual Studio] How to build a dll that Win32::API can access
by Anonymous Monk on May 24, 2008 at 12:28 UTC
    Ah, so its able to access double.dll, it just can't find my_double
      Ah, so its able to access double.dll, it just can't find my_double

      Seems to be the case. Could it be that leading underscore ?

      I've just rebuilt the dll without the /Gz switch and dumpbin /exports double.dll then reports that my_double is exported (no leading underscore). When I then run double.pl, my_double is apparently found ok, but the script segfaults.

      Cheers,
      Rob