Re: [patch 2] mshtml: Added support for coexisting different Gecko versions installation.
6 Jun
2007
6 Jun
'07
12:47 p.m.
Jacek Caban <jacek(a)codeweavers.com> writes:
- /* @@ Wine registry key: HKCU\Software\Wine\MSHTML */ - res = RegOpenKeyW(HKEY_CURRENT_USER, wszMshtmlKey, &hkey); + memcpy(mshtml_key, wszMshtmlKey, sizeof(wszMshtmlKey)); + MultiByteToWideChar(CP_ACP, 0, GECKO_VERSION, -1, + mshtml_key+sizeof(wszMshtmlKey)/sizeof(WCHAR), -1);
Please pass the correct dest buffer size, not -1.
+ GetEnvironmentVariableA("windir", install_dir, sizeof(install_dir));
GetWindowsDirectory is preferable. -- Alexandre Julliard julliard(a)winehq.org
6854
Age (days ago)
6854
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard