hi
i have a function given below basically this is a thread function
UINT popclose(LPVOID pram)
{
//Reading Data from Sim
memset(&objudtPhoneList,0,
sizeof(udtPhoneList));
iResult = ObjReadPhoneNo(&objudtPhon
eList); // this function takes around 5 minutes
//So this statement is skipeed and next statement
//is being executed
//basically used for closing a Dialog box
Sleep(500);
dProg1->EndDialog(0);
dProg1=NULL;
}
the function ObjReadPhoneNo(&objudtPhon
eList); is actually time consuming statement
so it is being skipped and next statement executed
so how to force compiler to execute that statement