Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPYDATASTRUCT...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00161294
Message ID:
00161694
Vues:
29
Hey Christof,

>Sure it does. All you need is a little public domain class that has been developed by Mark Wilden and myself and is currently in beta. You can get a copy if you want. The code would look like this:
>
>ox = Create("COPYDATASTRUCT")
>ox.lpData = "Some data!"
>ox.cbData = Len(ox.lpData)
>SendMessage(hwnd1,WM_COPYDATA,hwnd2,ox.GetPointer())
>
>Define Class COPYDATASTRUCT as Struct
>   dwData = 0
>   cbData = 0
>   lpData = ""
>   cmembers = "l:dwData,l:cbData,pz:lpData"
>Enddefine
>Christof

Thanks. Another development in this scenario on the other side has the Delphi guys thinking they just want me to issue a SendMessage with a simple string. If things go back the other way, I might come looking for that class.

Cheers,
Phil
Phil
_____________________________
Phil Miles
http://www.philmiles.com
phil@philmiles.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform