Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Using QWORD data type in registry (https://www.delphipraxis.net/167539-using-qword-data-type-registry.html)

WojTec 4. Apr 2012 15:42

Using QWORD data type in registry
 
Guys, how to write/read QWORD (Delphi.Int64) values to registry? Standard method support 32-bit values, how about 64-bit ones?

Luckie 4. Apr 2012 15:59

AW: Using QWORD data type in registry
 
I would try to store it as binary data.

WojTec 4. Apr 2012 16:42

Re: Using QWORD data type in registry
 
As REG_BINARY? Not bad idea, but I thought about REG_QWORD type. Windows registry support it.

Luckie 4. Apr 2012 16:57

AW: Using QWORD data type in registry
 
And what's the problem now?

WojTec 4. Apr 2012 17:24

Re: Using QWORD data type in registry
 
:lol: Because I'm asking about REG_QWORD and still don't know how to use it :?:

Luckie 4. Apr 2012 17:33

AW: Using QWORD data type in registry
 
Does the TRegistry class support it?

WojTec 4. Apr 2012 18:03

Re: Using QWORD data type in registry
 
As I know - is not supported by TRegistry.
This is reason I'm asking.

Luckie 4. Apr 2012 18:18

AW: Using QWORD data type in registry
 
Well, than you have to use the raw Win API functions.

WojTec 4. Apr 2012 18:39

Re: Using QWORD data type in registry
 
Gosh, tell me something I don't know, please, please.
I know I need registry API, but I don't know how :(

There is RegSetValueEx(), there isn't RED_QWORD const.

:?::(

Luckie 4. Apr 2012 18:44

AW: Using QWORD data type in registry
 
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:03 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz