look at the command:
EXTERNAL
in the msdn help. i think that's what you are looking for.
hope this helps
>In the main program (Prog1.exe) I call another program (Prog2.exe) and use two procedures (VFP05_COMP and EXPORT2EXCEL) in Prog2.exe. When I compile the Prog1.exe, I have the following errors:
>
>Compiling...
>
>Program c:\..\progs\planning.prg has the following errors:
> Proc./Func. VFP05_COMP - Undefined
> Proc./Func. EXPORT2EXCEL - Undefined
>
>However It works very well but it's not "sweet & gentle" . Anyone know how to get rid of those error while compiling .
>Thank in advance.
>
>PS. The Prog2.exe is present in the same directory
>
>VSN