how to get the local?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jun 1 07:38:09 PDT 2011


>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