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:
01102080
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>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)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform