Re: Cannot Get Win32Lib to Work
- Posted by ghaberek (admin) Aug 01, 2023
- 590 views
Icy_Viking said...
I forgot about the difference between 32-bit and 64-bit Euphoria. Should have thought of that as well. You can have both 32 and 64 bit Euphoria installed on the same machine, just make sure they're in separate folders or directories. I often use the 32-bit builds of DLLs for my wrappers for compatibility reasons. I've also been looking into the Windows API. A new win32lib with a more modern Windows API would be good, but the Windows API is huge. Also, that new GUI program sounds interesting.
I think I figured out the changes required to make Win32Lib work on 64-bit. It mostly has to do with (surprise surprise) structure type sizes and alignment.
-Greg