Hello,
Is it possible to have the function WaitSeconds()?
Or is there a work around to wait for a defined number of seconds?
Thanks
Raymond Fischbach
www.mouches.org
www.mouches.org
Hello,
Is it possible to have the function WaitSeconds()?
Or is there a work around to wait for a defined number of seconds?
Thanks
#pragma BEGINDUMP
#include "windows.h"
#include "hbapi.h"
HB_FUNC( SLEEP )
{
Sleep( hb_parnl( 1 ) );
}
#pragma ENDDUMPHello EnricoMaria,
Many thanks, I will give it a try.
Regards
Hello EnricoMaria,
I tried it and it works perfectly.
Many thanks,
Raymond
Enrico Maria Giordano wrote:Try
#pragma BEGINDUMP #include "windows.h" #include "hbapi.h" HB_FUNC( SLEEP ) { Sleep( hb_parnl( 1 ) ); } #pragma ENDDUMP
EMG
Thanks again, EMG.
Regards,
Dutch