المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Responding To Asynchronous Functions



C++ Programming
05-15-2012, 11:00 AM
hello guys... how do I respond to an asynchronous function call? Let's say that I have a function (asynchronous, boolean) like this
classObject->Function_Call();Now I want to do something like this
BOOL bResult = FALSE; bResult = classObject->Function_Call(); if(bResult) { // do something } else // do something elseNow what do I do in this situation as Function_Call() is asynchronous? Thanks for any input.

This world is going to explode due to international politics, SOON.