T
Tod Johnson
Hello all,
I've found that it's not impossible to create MessageWindow from
separate thread. Are there any workarounds?
// -- Main thread --
StartDial();
//---- Separate Thread ----
{
while(!end)
{
...
messageWindow = new MyMessageWindow(); <--- messages never
reach WndProc
RasDial(IntPtr.Zero, null, params.Buffer, -1,
this.messageHook.Hwnd, ref this.connection);
Thread.Sleep(1000);
}
}
I've found that it's not impossible to create MessageWindow from
separate thread. Are there any workarounds?
// -- Main thread --
StartDial();
//---- Separate Thread ----
{
while(!end)
{
...
messageWindow = new MyMessageWindow(); <--- messages never
reach WndProc
RasDial(IntPtr.Zero, null, params.Buffer, -1,
this.messageHook.Hwnd, ref this.connection);
Thread.Sleep(1000);
}
}