Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C++ communicating back to VFP 5.0
Message
De
23/10/1996 15:51:10
 
 
À
23/10/1996 14:53:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00010798
Message ID:
00010809
Vues:
33
>?, 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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform