Already for a hole year I try time to time again to create a windows window in nodejs to get the native handl and listen to incoming messages.
I used as a workaround an electron window. But creating a full-blown browser just to listen to windows native messages is not a solution. Also, There are too many problems with native addons and electron.
I don't have experiences in writing native addons or event just writing c++/c code.
Does anybody have a solution for this? The problem is, I have an api which requires to send the hwnd of a window to a program and then it sends native messages to the window.