Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying files
Message
 
 
À
16/10/2000 08:04:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00429701
Message ID:
00429708
Vues:
11
>Ko
>
>The API still stops processing.
>
>Currently I have a form with a Timer on it, and it copies the file from there.
>
>Can you go into more detail about Timer, I may be doing something wrong.
>
>Thanks
>Kev

No matter what you do within your application (VFP copy, API, WSH), it's all going to stop processing because of the single threaded nature of VFP.

The only way I know to get around this is to create an out-of-process COM server (EXE) and launch that using Createobject(). You could set a property cCommand of that object and launch a timer within it. It will run outside of your thread and the only thing you have to do is periodically check a status property to determine if it completed or errored out.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform