Forum: Win32/Win64 API (native code)
Delphi
by TiGü,
8. Jun 2018
function GetLocaleInfoEx(lpLocaleName: PWideChar; LCType: LCTYPE;
lpLCData: PWideChar; cchData: Integer): Integer; stdcall; external kernel32 name 'GetLocaleInfoEx';
...
var
lpLocaleName: PWideChar; LLCType: LCTYPE;
lpLCData: PWideChar; cchData, ReturnValue: Integer;
DataValue: array of WideChar;
DataString: string;
begin
lpLocaleName := PChar(LOCALE_NAME_USER_DEFAULT);
Forum: Win32/Win64 API (native code)
Delphi
by TiGü,
8. Jun 2018
function GetLocaleInfoEx(lpLocaleName: PWideChar; LCType: LCTYPE;
lpLCData: PWideChar; cchData: Integer): Integer; stdcall; external kernel32 name 'GetLocaleInfoEx';
Forum: Win32/Win64 API (native code)
Delphi
by TiGü,
8. Jun 2018
@KodeZwerg:
TArray<WideChar> -> array of WideChar!
Kennt auch deine Version.