Re: Pass C double to Eu shared library
- Posted by mattlewis (admin) May 13, 2012
- 1510 views
mattlewis said...
mattlewis said...
I think the cleanest way is to use Use 32-bit Integers In Translated DLLs. It's kind of a hack, but I think it's the cleanest solution. It requires special wrappers that the external world should call, and it modifies your translated source.
It seems to almost work with 4.0.4. This required some updates to make_atom.exw for 4.0. And I modified test.exw to open the .so that I created on Linux, instead of a Windows dll.
I made some updates, and it seems to be working with 4.0 and 4.1, including with 64-bits. I created a bitbucket repository for the code.
Oops. I had forgotten to make the repository public. I've fixed that now, so it should be publicly visible.
Matt