Re: [fpc-pascal] fpc registry unit

2013-03-01 Thread Howard Page-Clark
On 01/03/13 5:34, John Lee wrote: Think I'm missing something! I need the/a fpc registry unit - I can't seem to find it on svn - lots of references to it! Pls send or point me to it. If you use Lazarus, just make sure FCL is a declared dependency in your project, and add uses registry; to

[fpc-pascal] fpc registry unit

2013-03-01 Thread John Lee
Think I'm missing something! I need the/a fpc registry unit - I can't seem to find it on svn - lots of references to it! Pls send or point me to it. Code extract (from synaser) that I need to work is var reg:tregistry; ... reg.RootKey := HKEY_LOCAL_MACHINE; reg.OpenKey('\HARDWARE\DEVICEMA