[Gambas-user] Long C routine

Tobias Boege taboege at ...626...
Thu Jan 30 17:04:27 CET 2014


On Thu, 30 Jan 2014, martin p cristia wrote:
> Hi:
> 
> I need a way to keep the GUI alive while processing a EXTERNAL C routine:
> 
> Public Extern M8gauss(mfMatriz As Float[], vfX As Float[], vfTermns As 
> Float[], lOrder As Long) As Long
> 
> wich is a Gaussian ecuations system solver, and can take up to 10minutes 
> ( 10^10 aritmetic operations).
> 
> Any help on doing this?
> tnx in advance
> I'll paste the actual C routine from the .SO
> 
> [...]

So you need to run the routine as a background task? Try the Task class
(there is an example of it in the Fractal example, IIRC).

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk




More information about the User mailing list