"One man's wage rise is another man's price increase." - Harold Wilson"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
ULONG nLength = 0;
if (ERROR_SUCCESS == reg.Open(HKEY_CURRENT_USER, sKeyName, KEY_READ) &&
ERROR_SUCCESS == reg.QueryBinaryValue(sValueName, arrByte.GetData(), &nLength))
sData = CString((LPCTSTR)arrByte.GetData(), arrByte.GetSize());
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.