Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with GetCurrencyFormat
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102074
Message ID:
01102088
Views:
16
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)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform