1. loading .dll's

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.

new topic     » topic index » view message » categorize

2. Re: loading .dll's

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: loading .dll's

My first suspicion would be (32bit app + 64bit dll) or (64bit app + 32bit dll), and of course neither of those can possibly work.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu