15 Apr
2007
15 Apr
'07
5:05 a.m.
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 -- By by ... Detlef
6906
Age (days ago)
6906
Last active (days ago)
0 comments
1 participants
participants (1)
-
Detlef Riekenberg