Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event Processing and VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00134858
Message ID:
00134904
Vues:
9
>...This is a long one, so hang with me...
>
>We are building an application that uses the win32 api for event processing. The system works by calling an Oracle external procedure. Oracle requires that the external program be a DLL. To date we have written the Oracle triggers, the DLL and a test program in C++ that displays the results of the Win32 api call.
>
>The remaining program was intended to be in Visual Foxpro. It would replace the C++ test program and perform the actual processing of the program logic.
>
>My problem is that I don't know how to trigger an event in VFP from an external api call. In VB and C++ I could do it by passing the DLL the memory address of the event procedure. The DLL then fires the function at that address when an event occurs. To my knowledge VFP does not have a AddressOf function that will retrieve the pointer of a procedure.
>
>I can also fire an event using the WM_COPYDATA api function if I knew how to create a event handler in VFP without putting the system in an eternal loop. None of the reference's that we have here, or anything that I could find on the internet gave me what I was looking for.
>
>Any ideas anyone?
>
>TIA,
>
>dwatabu@harte-hanks.com
Have you thought about using COM objects as your VFP middle-tier?
Travis Vandersypen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform