How to get m_hWnd after calling WinExec
Posted on 1998-05-12
I am developing software using MS Pen Services 2.0. It comes with an executable that creates a window for handwriting input (WRITEPAL.EXE). I would like to use WinExec to start WRITEPAL.EXE, then get the m_hWnd for the WRITEPAL window so that I can trap messages going to and from it. I only have the executable; no source code and no documentation on how to use the executable.
1. Is this possible?
2. If it is possible, how do I do it?
(I will increase the number of points if somebody can tell me how to do this)