Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set-up DDE client/server within Form's INIT Method
Message
 
À
10/09/1997 09:49:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00049262
Message ID:
00049722
Vues:
66
>>I am
>I haven't done this directly from a form but what we did do that worked was creating a custom object that held all the methods for initiating/query-response/shutdown of a C++ (V1.52 is that matters) server. The C program is called with a request_buffer and a response_buffer as outbuf=interFaceC(inbuf). The C programs is a out of process exe that is simply started with a RUN command. The DDEInitiate refers the server name exposed by the C program. We had needed this to interface with a 16 bit Unix C packages ported to Windows (mostly) and the C server we wrote acts a intermediator between VFP and the unix software. We had tried using callfn/regfn etc. but ran into many problems with the unix package port.
>HTH


Thank you for responding. I have solved the problem by making a direct call to the form's method from within a Stored Procedure call. To access the Form's Method, all that was needed was the form's name followed by a period followed by the Method name.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform