>
> 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
>>