Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with GetCurrencyFormat
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01102074
Message ID:
01102088
Vues:
15
Thanks so much, Borislav! Thanks for the quick response!

Rodd

>>Could someone post an example of how to declare and use the GetCurrencyFormat API. I looked on news2news and didn't find any help with this particular API. I think the thing that throws me most is how to handle the structure that it expects to be passed.
>>
>>Thanks for your help!
>
>
>Declare INTEGER GetCurrencyFormat IN WIN32API INTEGER Locale, INTEGER dwFlags,;
>                                              STRING lpValue, STRING lpFormat,;
>                                              STRING @lpCurrencyStr,;
>                                              INTEGER cchCurrency
>    Buffer = REPLICATE(CHR(0),255)
>    GetCurrencyFormat(0,0,[5.32],0,@buffer,255)
>    Buffer = CHRTRAN(Buffer, CHR(0),[])
>    MESSAGEBOX(Buffer)
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform