Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ communicating back to VFP 5.0
Message
From
23/10/1996 15:51:10
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00010798
Message ID:
00010809
Views:
31
>?, 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
Previous
Reply
Map
View

Click here to load this message in the networking platform