Re: Win32lib Constants

new topic     » goto parent     » topic index » view thread      » older message » newer message
ChrisB said...

Is there an official win32lib maintainer? While I am happy to do so, it would essentially be a curator role, as I am sure there are many more capable programmers out there than me.

As of late, no. The SourceForge project page lists: dcuny, derekparnell, and mattlewis, all of whom we haven't seen around here more than briefly in the past several years. If anyone's interested in taking over, I could at least go through the work to bring the project over to our OpenEuphoria group on GitHub.

ChrisB said...

Also win32 is is being superceded by win64, and ideally there should be a win64 library 'in production'. I know that a lot (most) of the functions have win64 equivalents, its just that Eu / Phix doesn't have a lib to access these.

It's weird and complicated but in short: they're basically the same thing. The problem isn't access to the 64-bit equivalent functions; that happens automatically when you use 64-bit Euphoria. The problem is that Win32Lib is hard-locked on 32-bit structures.

You'd have to go through and update all of the structure offsets and peek/poke calls to account for 32-bit or 64-bit pointer/integer widths. It might just require changes to w32allot(), w32peek(), etc.

The best approach is to rebuild using "memstruct" feature coming with Euphoria 4.2. I'm hoping to get that feature merged in soon-ish, which means it will hit the bleeding-edge builds on GitHub when I do.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu