Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
System time slowing down problem
Message
De
01/11/2001 20:33:20
 
 
À
01/11/2001 14:12:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00572428
Message ID:
00576541
Vues:
32
Hi,

So far, my application is running fine and my monitoring of the
system show constant memory usage and processor time use, hence
I hope to conclude that changing of my code to using timer really
help to solve my problem. thank a lot.

>Hi Virusim;
>
>I am very glad to provide you the properly help.
>
>>when my application
>>is processing my data file, the system resources monitor show
>>that it take up all the system resources and CPU time too. Is this
>>normal ? I hope that this will not cause any system slowness.
>
>Why dont you use the same TIMER object to scan throught the file ? I've been doing this and you can control it doing something like this:
>
>
>procedure myobjtimer.timer
>do  case
>    case  thisform.nlevel = 1
>        sele 0
>        use myfile
>        thisform.nlevel = 2
>    case  thisform.nlevel = 2
>        sele myfile
>        skip
>        if  eof()  && or any other condiction
>            thisform.nlevel = 3
>            return
>        else
>            *
>            * the processing itself
>            *
>        endif
>    case  thisform.nlevel = 3
>        *
>        *  lets finish the job
>        *
>endcase
>endproc
>
>
>Here is the big deal:
>
>Certainly you will reduce plenty the use of the processor and other resources because the program will be fully integrated with the windows
>
>CLAUDIO
Best Regards
Virusim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform