OrchardSoftware / 4D-Win32API

Win32API is a plugin for 4th Dimension that lets your Windows applications take advantage of Windows-specific features that are not exposed by native 4th Dimension commands. Win32API lets you set a custom icon for any window, change the name of your 4D application in the title bar and task bar, customize file open and save dialogs, get information from the Regional Settings control panel, and much more.
MIT License
13 stars 9 forks source link

Compatibility with 4D v17 R6 64-bit #37

Closed issameljohri closed 3 years ago

issameljohri commented 5 years ago

I'm planning to convert my 4D database to 64-bit system, my database use Win32API plugin. Is Win32API compatible with 64-bit system ? Thanks

dwaddell commented 5 years ago

Yes and no, it'll work with a 64-bit system but not every call has been fully vetted.

datawright commented 5 years ago

gui_LoadBackground is not working in v17 64 bit mode. Error code 0 is returned and the background doesn't change. It works fine in 32 bit mode.

dwaddell commented 3 years ago

Hello,

We have just migrated to v18 as well and in the process we recreated this plugin. We have not release it yet but our Testing group has been using it. We just made the repository public here: https://github.com/OrchardSoftware/4D-Win64API/releases/tag/v18

It should be noted that we fully recreated the plugin and we only migrated commands that we use. We spent a lot of time trying to eliminate calls that could be done another way, like with native 4D commands. If there are commands that you use that didn't make the migration you could pull the gui_loadBackGround and put it in the old plugin and it should work just fine. Or update the open-sourced v18 compatible version.

Hope this helps, Drew