Use proper system directory.
This commit is contained in:
parent
eafae34251
commit
55de5585e6
|
@ -568,9 +568,9 @@ BOOL32 SIC_Initialize(void)
|
||||||
{ return(FALSE);
|
{ return(FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
GetWindowsDirectory32A(szShellPath,MAX_PATH);
|
GetSystemDirectory32A(szShellPath,MAX_PATH);
|
||||||
PathAddBackslash32A(szShellPath);
|
PathAddBackslash32A(szShellPath);
|
||||||
strcat(szShellPath,"system\\shell32.dll");
|
strcat(szShellPath,"shell32.dll");
|
||||||
|
|
||||||
hSmRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);
|
hSmRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);
|
||||||
hLgRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);
|
hLgRet = GlobalAlloc32( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON32)*40);
|
||||||
|
|
Loading…
Reference in New Issue