Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling c++ dll passing arrays by reference
Message
De
12/11/1996 14:54:47
 
 
À
12/11/1996 14:47:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00012057
Message ID:
00012058
Vues:
46
>though the documentation on DECLARE-DLL doesn't include arrays as parameters which can be passed, does anyone have a method to do this.
>
>can you use a string parm by reference?
>
>tia

There were nice examples on UT. This is example how to send parameter by reference:
DECLARE INTEGER FindWindow in win32api INTEGER,STRING
DECLARE INTEGER GetWindowText in win32api INTEGER,STRING @lpsz,INTEGER
hnd=FindWindow(0,"Windows 3.1 SDK")
if hnd>0
=GetWindowTitle(hnd,@lpsz,4)
? lpsz
=GetWindowTitle(hnd,@lpsz,7)
? lpsz
endif
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform