Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP.exe to different VFP.exe
Message
De
17/02/2021 13:18:01
Mike Yearwood
Toronto, Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678195
Message ID:
01678338
Vues:
43
>
>  DECLARE LONG    GetCurrentProcessId IN WIN32API
>m.VFP6ProcessID = GetCurrentProcessId()
>
>

Sorry, but that would give me the processid of the launcher, not the legacy app.

>MartinaJ
>>>Thank you, but the launcher does not know the VFP6 process ID.
>>
>>Mike, this was just to be sure everything would run with VFP6. The process ID must be fetched from the WMI Query, but that was already established.
>>
>>In other words, the line
>>
>>
>>m.VFP6ProcessID = _VFP.ProcessID
>>
>>
>>is to be interpreted as
>>
>>
>>m.VFP6ProcessID = m.TheProcessorIDReturnedByWMIQuery
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform