Is it possible to access functions created in a parent process, from a child process in dos.

Example, I have a gui that I have written, and the only way, so far, for me to run a program within it, is to hard code it. I would like to beable to make programs that will run simultaeously with it
and likewise access the functions and variables within the parent process. I have tried exec.. and spawn... maybe I am using them incorrectly.

If this has anything to do with it, I am currently using Borland C++ 4.52 to create my dos program.

Also I am using the graphics library SVGACC.LIB from zephyr
software.

Any help is greatly apprecitated.