Does someone have sample Powerbasic for Windows code they can post to give me an example of reading and writing values to the Windows registry? If possible, it would also be nice to be able to create new registry keys, but I'm most concerned with reading/writing for existing keys. I know of the details are included in the the Win32 Programmer's Reference, but I'm not good at translating that document into PB code.
Also, can somebody give me a speed comparison for reading/writing a value to the registry versus reading/writing the same value to an INI file? To date, I've always used INI files, but I'm wondering if speed and performance are paramount, would I be better off using the registry? Of course, sometimes I have to use the registry regardless in order to interact with another application.
Thanks.
Also, can somebody give me a speed comparison for reading/writing a value to the registry versus reading/writing the same value to an INI file? To date, I've always used INI files, but I'm wondering if speed and performance are paramount, would I be better off using the registry? Of course, sometimes I have to use the registry regardless in order to interact with another application.
Thanks.
Comment