On So, 2007-04-15 at 10:02 +0200, Stefan Leichter wrote:
I did not test the code, but ...
+LONG WINAPI RegDeleteTreeW(HKEY hKey, LPCWSTR lpszSubKey) +{
if (!ret)
ret = RegSetValueA(hSubKey, NULL, REG_SZ, "", 0);
Please do not call an ANSI-Function in an UNICODE-Implementation. http://wiki.winehq.org/CrossCallsWtoA
static const WCHAR emptyW[] = {0}; ret = RegSetValueW(hSubKey, NULL, REG_SZ, emptyW, 0);
Thanks