Hi Byeong-Sik,
+ lRet = RegSetValueEx(hKey, valueName, 0, type, (LPBYTE)stringValueData, j);
I think that should be j * sizeof(TCHAR), yes? --Juan
____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367