Dear Michel, chatgpt proposes this code, not sure if it will work as expected. You can easily port it to FWH #include <stdio.h>#include <windows.h>int main() { HKEY hKey; const char *regPath = ...
Dear Michel, According to google Bard it can be done this way: #include <windows.h>int main() { // Get the handle of the Word application. HWND word_app = FindWindow(L"Word.Application", ...