Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Problems with EnumForms
Message
 
 
À
01/08/2001 16:38:34
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00538518
Message ID:
00538568
Vues:
11
>Sergey,
>It should return 122 and I suppose it is designed to return 122 so you can call it again with correct parameters but the point is that EnumForms is returning 0 for failure and GetLastError is returning 0 not 122 as it should. What is going on? In addition when EnumForms is called again vfp goes byebye.
I just ran following code on my PC and got error 122. Win2k, VFP 6 SP5
bNeeded=0
nForms=0
nSize=0
nBuffSize=0
lnStructure = 0
lnOk = WS_EnumForms(lnHandle, 1 , lnStructure , nSize, @bNeeded , @nForms )
The second call to WS_EnumForms with lnStructure and nSize populated killed VFP.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform