>Hi Kevin,
>I'm not sure why you're using SYS(2004). It returns location of VFPvR.DLL.
>How is that releated to your application location? It seems you would be
>better of using
>ADDBS(JUSTPATH(_VFP.ServerName))
>When you call other Visual FoxPro EXE using DO command it runs as a part of
>the calling application in it's environment, not as a separate EXE.
>Can you clarify what you're trying to do?
Hi Sergey!
Thanks for your response!
Yeah, I'm not sure why sys(2004) was being used either. I guess it was because the dll was always installed in the same directory as the main calling exe, and was therefore ASSUMED to always be same. Since I know what the word ASSUMED can mean, I have since rewritten the whole load routine and have pulled the references to sys(2004).
-Regards