M
Magne Ryholt
Ref another post in this group "Improve Sync thread / Form".
Also ref VS2003 help:
"ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/dnforms/html/winforms0611200
2.htm", stating:
"...As it turned out, I had just gotten lucky (or unlucky, depending on how
you characterize such things). Microsoft Windows® XP was providing me with a
very robust implementation of the underlying windowing system on which
Windows Forms is built. So robust, in fact, that it gracefully handled my
violation of the prime directive of Windows programming-Though shalt not
operate on a window from other than its creating thread. Unfortunately
there's no guarantee that other, less robust implementations of Windows
would be equally graceful given my bad manners..."
Does this mean that executing the delegate directly (i.e. from the worker
thread) is safe on XP ?
What about future OS's ?
Also ref VS2003 help:
"ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/dnforms/html/winforms0611200
2.htm", stating:
"...As it turned out, I had just gotten lucky (or unlucky, depending on how
you characterize such things). Microsoft Windows® XP was providing me with a
very robust implementation of the underlying windowing system on which
Windows Forms is built. So robust, in fact, that it gracefully handled my
violation of the prime directive of Windows programming-Though shalt not
operate on a window from other than its creating thread. Unfortunately
there's no guarantee that other, less robust implementations of Windows
would be equally graceful given my bad manners..."
Does this mean that executing the delegate directly (i.e. from the worker
thread) is safe on XP ?
What about future OS's ?