1. loading .dll's
- Posted by scbaxter Dec 16, 2016
- 1118 views
Greetings,
I have programmed in Euphoria for 16 years, and I have used .DLL's with little trouble. It is one of the features of Euphoria that I like best.
Recently I tried to connect to an astronomical .DLL that I had used before without a hitch, but now I am having a problem. There seems to be no problem from the author's side, so I am asking for help. I know that others have had puzzling .DLL problems, and I wonder if they might have some help for me.
I can load the .DLL, but none of my function calls can find their mark. I have worked with 32-bit Euphoria for this 32-bit library.
2. Re: loading .dll's
- Posted by jmduro Dec 17, 2016
- 1072 views
First, verify that the library exports functions as expected with some tool like DLL Export Viewer from Nirsoft. I found recently a library that was badly compiled and didn't export anything (libagar).
Second, try to prefix routine names with "+" in case they need to be called with CDECL.
Jean-Marc
3. Re: loading .dll's
- Posted by petelomax Dec 17, 2016
- 1051 views
My first suspicion would be (32bit app + 64bit dll) or (64bit app + 32bit dll), and of course neither of those can possibly work.