How do I send a HANDLE type to other threads via spawn?
Andrej Mitrovic
andrej.mitrovich at gmail.com
Wed Jun 29 15:24:09 PDT 2011
On 6/30/11, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Ok I did found one workaround:
>
> HWND mainWindow = FindWindow(appName.toUTF16z, windowName.toUTF16z);
>
Sorry that should be:
HWND mainWindow = FindWindow(className.toUTF16z, windowName.toUTF16z);
It just so happens that I've named the class name for the main window
the same as the application name.
More information about the Digitalmars-d-learn
mailing list