Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
It ends in hundreds of IE windows, till resources runs o
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Divers
Thread ID:
01258328
Message ID:
01258517
Vues:
9
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.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform