While writing one of my first multithreading applications, I found that updating some DDT controls did not seem to work. Then I read Mr Mattias's comments in one of his excellent examples (read more in the thread over here)
And I wondered: What DDT statements should I not use, or use differently, or use after precautions, in a seperate thread? And if there are any such DDT statements, what are the limiting circumstances, and why?
Has anyone else had similar experiences? Or am I getting worked up about nothing?
' I had to use a string ptr here instead of CONTROL GET TEXT because the calling thread was in a wait
' state (WaitForSingleObject) and apparently (undocumented but not reasonably) CONTROL GET TEXT does
' "something" which must execute in the context of the same thread (suspended) as the dialog.
' Apparently (that means also not documented), DIALOG GET USER does not need to execute anything in the
' context of the thread in which the dialog was created.
' state (WaitForSingleObject) and apparently (undocumented but not reasonably) CONTROL GET TEXT does
' "something" which must execute in the context of the same thread (suspended) as the dialog.
' Apparently (that means also not documented), DIALOG GET USER does not need to execute anything in the
' context of the thread in which the dialog was created.
Has anyone else had similar experiences? Or am I getting worked up about nothing?
Comment