Hello,
Is it possible to have the function WaitSeconds()?
Or is there a work around to wait for a defined number of seconds?
Thanks
WaitSeconds()
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
WaitSeconds()
Raymond Fischbach
www.mouches.org
www.mouches.org
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: WaitSeconds()
Try
EMG
Code: Select all
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
HB_FUNC( SLEEP )
{
Sleep( hb_parnl( 1 ) );
}
#pragma ENDDUMP
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
- Raymond Fischbach
- Posts: 48
- Joined: Sun Oct 30, 2005 9:29 am
- Location: Belgium
- Contact:
Hello EnricoMaria,
I tried it and it works perfectly.
Many thanks,
Raymond
I tried it and it works perfectly.
Many thanks,
Raymond
Raymond Fischbach
www.mouches.org
www.mouches.org
Re: WaitSeconds()
Dear Enrico,
Sleep( 1000 ) = ? // 1 second?
Best regards,
Dutch
Sleep( 1000 ) = ? // 1 second?
Best regards,
Dutch
Enrico Maria Giordano wrote:Try
EMGCode: Select all
#pragma BEGINDUMP #include "windows.h" #include "hbapi.h" HB_FUNC( SLEEP ) { Sleep( hb_parnl( 1 ) ); } #pragma ENDDUMP
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: