I am having one C++ Client application and created a DCOM service.
Inside a Client application - created a window. Inside a DCOM server exe, I wanted to use this client created window and use it for purpose.
I tried to pass the HWND from Client to COM server -- for this since HWND param is not allowed at Server end, I used LONG insted. I able to receive same pointer reference, what is sent at client app.
But If I check IsWindow(hwnd) --- I got FAILURE here.
If, I try to use FindWindow("myWindow") inside COM Server code -- still I am not able to get appropriate Window handle.
Can someone pl. tell me, what is the way to access / pass Window handle from client app to COM Server exe ?
Thanks in advance.