Hi Bhavbhuti
check
http://msdn2.microsoft.com/en-us/library/aa365917.aspxHi 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
> * 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