>?, the c++ routines actually create windows, have a user interface, etc.
>am simply calling the routines from a menu item procedure
>
>ie. menu prompt Optimize procedure contains
>OptimizerEntryPoint()
>
>this program then does its stuff independantly from VFP.
>
>I'm unclear how using c++ to return a structure would work.
>
>Thanks, Kim
If your C++ dll has interface you can check the moments when it's created/destroyed by using FindWindow function.
DECLARE INTEGER FindWindow in win32api INTEGER,STRING
and make a loop in VFP program
DO WHILE not empty(FindWindow(0,cDlltitle)
ENDDO
This case you don't need to return something from DLL. Surely you can drop the loop and check FindWindow in any place of VFP app.
Edward Pikman
Independent Consultant