Zzz... What would u do if you are waiting for two of your friends to finish piakking?



Zzz... What would u do if you are waiting for two of your friends to finish piakking?
 
To go party later?
they buay loon liao say wana draw first blood post-dinner den proceed to lim jiu :(

Related to : Zzz... What would u do if you are waiting for two of your friends to finish piakking?
Waiting for ShellExecute to finish
Food & Drink
There was a question about a week ago about this, but Im not sure Im following the suggestion correctly. I am trying to print an html file with shellExecute, wait for it to print, and then delete the temporary html file. Problem is that is never gets past the waitForSingleObject code. Is the problem that I am casting an HISTANCE to a HANDLE?? I didnt think the ShellExectuteEx looked mush different. Here is my code:
INSTANCE hInst = ShellExecute(this->m_hWnd, "print", strFile, NULL, NULL, 0);
//the print dialog appears here, user can press OK or Cancel
WaitForSingleObject( (HANDLE)hInst, INFINITE); //never gets past here
Waiting for thread to finish!
Food & Drink

In my dialog box, OnOK,
I started a thread; the program hanged after i clicked OK button, why? bFinish is a class member variable, and s_pThis is pointer to the CFileDlg class assigned during dialog init.
UINT CFileDlg::playProc(LPVOID lParam)
{
s_pThis->bFinish = false;
//do thread stuff
s_pThis->bFinish = true;
return 0;
}
void CFileDlg::OnOK()
{
bFinish = false;
AfxBeginThread(playProc,this);
while(bFinish == false );
CDialog::OnOK();
}
Is there any other better or more proper way of getti
waiting for exe to finish
Food & Drink
I know I found this somewhere on here, but I cant seem to find it again. I am launching a .msi using the shellexecute command to update a database my program uses. I then want to delete the .msi after it is done running by using the kill statement. What I dont know is how to make my program wait for the .msi to finish before it deletes it. I apologize because I know I saw this on here and I search alot before posting anything, but I cant seem to find it again.
Waiting for a thread to finish
Food & Drink
I have the following function, but I am trying to have the application wait until the thread completes before it moves on but the application just appears to lock. can someone tell me what I might be doing wrong?
private void UploadTicketChnges(bool WaitForThreadToFinish)
{
TicketChanges TixChanges = new TicketChanges(mysql, mysqlcmd);
TixChanges.AppEventID = AppEventID;
TixChanges.AppMemberEmail = AppMemberEmail;
TixChanges.AppMemberPassword = AppMemberPassword;
TixChanges.configAPIURL = configAPIURL;
TixChanges.configDatabaseTable = configD
waiting for a movieclip to finish?
Food & Drink
how do i make my main Movie timeline wait for a movie clip embedded on a frame to finish playing before it goes to the next frame?
currently ive got the main timeline stopped, so the embedded movie clip plays through, but how do i make the the main timeline start again after my movieclip has run through?
Thanks in advance
Zzz... What would u do if you are waiting for two of your friends to finish piakking?
Food & Drink
Zzz... What would u do if you are waiting for two of your friends to finish piakking?
 
To go party later?
they buay loon liao say wana draw first blood post-dinner den proceed to lim jiu :(


HD Wallpapers
3D
3D Abstract
City
Celebrities
Indian Celebrities
Cars
Travel
Girls
Animals Birds
Movies
Sports
Black White
Nature
Planes
Anime
Food Drink
Dreamy Fantasy
Architecture
Games
Space
Holidays
Flowers
Love
Artistic
Baby
Beach
Bikes Motorcycles
Macro
Computers
Vector
Funny
Army
Textures
Brands
Misc
Music
Other
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .