Lazarus

Programming => General => Topic started by: wytwyt02 on January 23, 2020, 10:15:14 am

Title: WaitForSingleObject in lazarus
Post by: wytwyt02 on January 23, 2020, 10:15:14 am
I need to wait for ShellExecute run, in stackoverflow, there is a way: https://stackoverflow.com/questions/17638674/how-to-wait-for-shellexecute-to-run, use ShellExecuteEx instead of ShellExecute, and using WaitForSingleObject to wait it done, but lazarus do not provide the `WaitForSingleObject` method. How can I fix that?
Title: Re: WaitForSingleObject in lazarus
Post by: PascalDragon on January 23, 2020, 10:17:34 am
WaitForSingleObject is provided in the Windows unit.
Title: Re: WaitForSingleObject in lazarus
Post by: wytwyt02 on January 23, 2020, 10:18:24 am
WaitForSingleObject is provided in the Windows unit.

I am sorry for my stupid. :P :P :P
TinyPortal © 2005-2018