Re: [fpc-pascal] TRegistry documentation

2021-06-15 Thread James Richters via fpc-pascal
Thanks for the help, it's working fine using readinteger I guess as long as I don't have any values large enough to need the most significant digit that would work... In order to change the value I want to change, I need to run my program as administrator, is there a way to change to

Re: [fpc-pascal] TRegistry documentation

2021-06-15 Thread Bart via fpc-pascal
On Tue, Jun 15, 2021 at 2:44 PM Jean SUZINEAU via fpc-pascal wrote: > I'm not sure which one will best match the DWord type. You'll have to use the Integer / Int64 variant and hardcats it to DWord/QWord. IIRC this is Delphi compatible. Of course it is peanuts to implement Read/WriteD/QWord()

Re: [fpc-pascal] TRegistry documentation

2021-06-15 Thread James Richters via fpc-pascal
I'm not using Lazarus. I guess I can try to make a sample program with it just to see what the options are. It seems like there should be a ReadDword, and ReadQword because there are an awful lot of Dword and Qword types in the registry. James ___

Re: [fpc-pascal] TRegistry documentation

2021-06-15 Thread Jean SUZINEAU via fpc-pascal
In Lazarus , in your source code, you can can "Ctrl + Click" on Registry.ReadString and it will bring you to the declaration of TRegistry.ReadString in unit Registry. There you will find there are other methods like ReadInteger, ReadInt64, ReadBinaryData. I'm not sure which one will best match

[fpc-pascal] TRegistry documentation

2021-06-15 Thread James Richters via fpc-pascal
Is there documentation for TRegistry somewhere? I've been searching for information on it, and so far I've only been able to find: https://wiki.freepascal.org/fcl-registry and http://docwiki.appmethod.com/appmethod/1.17/codeexamples/en/TRegistry_(Objec t_Pascal) They kind of get me started