cRegEd

A collection of helper libraries
Post Reply
AckiB
Posts: 14
Joined: Sat Sep 28, 2019 3:43 pm

cRegEd

Post by AckiB » Wed Nov 27, 2019 2:45 pm

:windows: :nolinux:

cRegEd is a class I created to read and write the Windows registry...
Its easy to use...

Code: Select all

	cRegEd reged;
	
	int tVal = 5;
	// write a value to a key
	reged.regWrite(HKEY_LOCAL_MACHINE, "SYSTEM\\Test\\Testxy", "TestVal", tVal);
	
	// read a value from a key
	reged.regRead(HKEY_LOCAL_MACHINE, "SYSTEM\\Test\\Testxy", "TestVal", &tVal);
	
	// get a key and all it's values and sub-key names
	cRegKey* key = reged.getRegistryKey(HKEY_LOCAL_MACHINE, "SYSTEM\\ControlSet001\\Enum");
   

Post Reply