-----Messaggio Originale----- Da: "Saulius Zrelskis" <labi...@gmail.com> A: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it> Data invio: mercoledì 29 maggio 2013 8.19 Oggetto: Re: [xHarbour-developers] HB_NO_BACKGROUND
Saulius, > Everything working as expected > Maybe sample can help? Here it is: FUNCTION MAIN() LOCAL hBkg := HB_BACKGROUNDADD( { || Tone( 440, 1 ) }, 10, .F. ) LOCAL hIdl := HB_IDLEADD( { || HB_BackGroundRun( hBkg ) } ) SET BACKGROUND TASKS ON HB_BACKGROUNDACTIVE( hBkg, .T. ) INKEY( 0 ) SET BACKGROUND TASKS OFF HB_BACKGROUNDDEL( hBkg ) HB_IDLEDEL( hIdl ) RETURN NIL EMG -- EMAG Software Homepage: http://www.emagsoftware.it The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum The Best of Spectrum Games: http://www.emagsoftware.it/tbosg The EMG Music page: http://www.emagsoftware.it/emgmusic ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers