Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP.exe to different VFP.exe
Message
From
17/02/2021 13:18:01
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01678195
Message ID:
01678338
Views:
44
>
>  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
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform