Hi all!

How is it possible to call a function that resides in another application? I have an application that consists of a few executables. The main executable is dialog based, and the others are automatically executed when starting the main program, by calling something like this:

char path[100];
GetCurrentDirectory(sizeof(path),path);
m_FeedThread = m_ps.Exec(path, "AppsName.EXE", NULL,...);



Now, when I press a particular button on the main program, I want to trigger a function in AppsName. The class for AppsName is not in the main program, so I can't use

((CAppsName *)GetParent())->FunctionName();



How can I achieve this? Any suggestions / tips is very much appreciated.

the Fresh!

Heaven is a Playground!