Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP AddressOf?
Message
De
09/04/2003 10:23:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
VFP AddressOf?
Divers
Thread ID:
00775473
Message ID:
00775473
Vues:
137
Hi all,

What is the VFP function that emulates the VB AddressOf when passing values to Win32 API. This is passing to the DLL a pointer to the callback routine.
example:
declare long CreateEnv in Win32APIDLL
declare long SetCallbackSolver in Win32APIDLL (long pEnv, long pcbf, double @ pUserData)
pEnv=CreateEnv()
nError=0
dBestObj=1E+30
nError=SetCallbackSolver(pEnv, AddressOf MySolverCallback, dBestObj) <-- here
Or is this not possible with VFP8?
ramil
~~ learning to stand still
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform