mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 09:09:30 +02:00
* Explicitly call -A functions for the registry key. FPC_UNICODE_RTL
git-svn-id: trunk@24687 -
This commit is contained in:
parent
33e04e954a
commit
5aab0da8ae
@ -1,4 +1,4 @@
|
||||
unit aspelldyn;
|
||||
unit aspelldyn;
|
||||
|
||||
{ * This file is header translation of The New Aspell
|
||||
* Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL
|
||||
@ -471,9 +471,9 @@ begin
|
||||
bufsize:=maxkeysize;
|
||||
buftype:=REG_SZ;
|
||||
key:=HKEY_LOCAL_MACHINE;
|
||||
res:=RegOpenKeyEx (key,p,0,KEY_QUERY_VALUE,rkey);
|
||||
res:=RegOpenKeyExA (key,p,0,KEY_QUERY_VALUE,rkey);
|
||||
if res<>ERROR_SUCCESS then exit;
|
||||
res:=RegQueryValueEx (rkey,sp,nil,@buftype,@buf[1],@bufsize);
|
||||
res:=RegQueryValueExA (rkey,sp,nil,@buftype,@buf[1],@bufsize);
|
||||
if res<>ERROR_SUCCESS then exit;
|
||||
buf[0]:=chr(bufsize-1);
|
||||
RegCloseKey (rkey);
|
||||
|
Loading…
Reference in New Issue
Block a user