If the function you want to call is defined in the same file as the calling function you could do this...typedef void (*FUNCTYPE)();
void test(string FName)
{
FUNCTYPE pfn = Project.FindFunction(FName, __FILE__);
if( pfn )
pfn();
}
Look for Project.FindFunction in the index of the Programming Guide for details.
Mike Buess
Origin WebRing Member
Edited by - Mike Buess on 01/14/2005 4:43:13 PM