Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It ends in hundreds of IE windows, till resources runs o
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01258328
Message ID:
01258524
Views:
14
Hi Bhavbhuti

check http://msdn2.microsoft.com/en-us/library/aa365917.aspx

Hi Vladimir
>
>>Take a look at http://www.news2news.com/vfp/?example=347&ver=wmi
>
>Any idea why the following DECLARE (rather the IF condition fails and WinAPI message is displayed) work in the VFP IDE and fail in the .exe on the Win2K computer. On the other hand the .exe works very well on a W98 machine.
>
>
DECLARE INTEGER GetAdaptersInfo IN iphlpapi ;
>    STRING @pAdapterInfo, LONG @pOutBufLen
>...
>IF GetAdaptersInfo(@lcBuffer, @lnBufsize) <> 0 && ERROR_SUCCESS
>  * no joy
>  =MESSAGEBOX('WinAPI problem - GetAdaptorsInfo')
>  RETURN
>ENDIF
>
>Thanks.
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform