how to get the local?

Lloyd Dupont ld-REMOVE at galador.net
Wed Jun 1 13:48:16 PDT 2011


Thanks for the quick answers hey!

Another quick one (it's time to go to work for me!)
Does this lib contains the MSI function?

"Andrej Mitrovic"  wrote in message 
news:mailman.518.1306939098.14074.digitalmars-d-learn at puremagic.com...

>From what I can tell you're using the wide version, so try prototyping
it as GetUserDefaultLocaleNameW <- note the W

Otherwise you should really get
http://dsource.org/projects/bindings/wiki/WindowsApi , which has
prototypes for many windows functions. You just have to build and use
it with --version=Unicode if you want GetUserDefaultLocaleName to
alias itself to GetUserDefaultLocaleNameW. 



More information about the Digitalmars-d-learn mailing list