Title: RE: [msvc] Best way of accessing functions..

> I beleive the same can happen simply with you running a piece of code,

> that also gets run by a screen update type message etc.  I had to use
> a bool as a flags to get around this.

When Windows message pump functions such as DispatchMessage( ) call a
window proc, if that window proc calls DispatchMessage( ) again, then
the window proc is re-entered.  Maybe looking at the call stack of a
simple Win32 GUI app which simulates this situation can be the best way
to see what exactly happens.

Of course the credit for this point goes to Jason; thanks for reminding
me, Jason!  :-)

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED]; [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

It is dreadful to die of thirst in the sea. Do you have to salt your
truth so much that it can no longer even - quench thirst? -Beyond Good
And Evil, F. W. Nietzsche

Reply via email to