Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More Problems with EnumForms
Message
 
 
To
01/08/2001 16:38:34
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00538518
Message ID:
00538568
Views:
18
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform