Well, that key has already been set, and I have understood from your explanation that CPCTuner only needs read access to it.
Originally Posted by Putput
why not try opning that key as read only (HKEY_LOCAL_MACHINE has read-only permissions for a normal user) , if the key exist act as 'stand alone' else try to write it.
that way you only have to run CPCTuner as administrator only once so it can write the key and afterwards you can run CPCTuner as a normal user and read the key with read-only access.
Another way to make a 'Stand Alone' version is using #ifdef's (C++):
I don't know if you can do that with delphi.
// Code to be exluded from the standalone version e.g: socket comunnications.