Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multithreading VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00909234
Message ID:
00910804
Vues:
17
Just tested that but unfortunately, I think, it seems to still suffer from the blocking problem.

To see what I mean try changing StartProcess.prg to the following:

*startprocess.prg:
PUBLIC loFoxServer, loEventhandler

loFoxServer = CREATEOBJECT('testserver.oTestServer')
loEventHandler = CREATEOBJECT('oTestCallback')

loFoxServer.Advise(loEventHandler)

DO StartAsyn.prg

FOR F = 1 TO 20
? F
doevents
sleep(1000)
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform