Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win32_ProcessStartup
Message
De
22/11/2002 08:53:55
Roman Segaud
Laboratoires Fortepharma
Nice, France
 
 
À
21/11/2002 16:40:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00724194
Message ID:
00725713
Vues:
28
Hi Herman,

It's work fine, is-it possible to share with the child process the parent object environment and to "BINDS" some event of the parent object ?

To recover the data generated by the child process I write some API function to put these data directly into memory and recover them, but it's not to fast, to be sure to properly recover these data i must use some code like :

Mem_copy(cVar, cdata)
nCounter = 0
Do while nCounter < 1000
nCounter = nCounter + 1
If Mem_Read(cVar)
Exit
Endif
Sleep(100)
EndDo

In my child process, and now I can use the same Mem_Read function in my parent process, and it will work.

Perhaps, I can use a structure (base on Process class) to recover directly these data ?

Roman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform