Re: Problem with RegSetValueEx


[ Delphi Forum ] [ Delphi Tutorials -- by DelphiLand ]

Posted by dthompson on July 18, 2003 at 22:11:33:

In Reply to: Problem with RegSetValueEx posted by backeyes on November 23, 2002 at 18:44:26:

err = RegSetValueEx(key, name, 0, type,
(unsigned char *)&value, sizeof(int));

the last two parameters are what make it work, make sure "value" is an int preferably a DWORD



[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]