Window Handle for the main 4D window

I have been using gui_GetWindowEx ("") in Orchard Software’s excellent Win32API for years. But this no longer works with the 64 bit version of 4D v17. I’ve contacted them re this, and they have no immediate plans to fix it as they don’t use v17. This is totally fine by me as it’s a free plugin and I’m very grateful for it.

So, does anyone know another way to get the Window Handle for the 4D application’s main window?


there’s a new entry point for that.

Perfect. Thanks Keisuke.

What’s the minimum version for that? v16.0?

15R something, but yes, round up to 16.