Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with WriteFile
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00841292
Message ID:
00841366
Vues:
20
Thanks, Anatoliy. That got it going!

>Hi Chris,
>
>If lcVal is of character type then you must change the WriteFile declaration. Currently you declare lpBuffer as INTEGER.
>
>Should be:
>
>DECLARE INTEGER WriteFile IN kernel32;
>	INTEGER   hFile,;
>	STRING  @ lpBuffer,;
>	INTEGER   nBt2Write,;
>	INTEGER @ lpBtWritten,;
>	INTEGER   lpOverlapped
>
>And lcVal should be passed by reference.
>
>Check this link:
>http://www.news2news.com/vfp/?function=301
>
>Unfortunately :( all examples with the WriteFile require memvership.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform