mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
fix GetProcAddress usage
This commit is contained in:
@@ -216,7 +216,7 @@ void HomePaths_Realise()
|
||||
wchar_t *mydocsdirw;
|
||||
HMODULE shfolder = LoadLibrary("shfolder.dll");
|
||||
if(shfolder)
|
||||
qSHGetKnownFolderPath = GetProcAddress("SHGetKnownFolderPath");
|
||||
qSHGetKnownFolderPath = GetProcAddress(shfolder, "SHGetKnownFolderPath");
|
||||
else
|
||||
qSHGetKnownFolderPath = NULL;
|
||||
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
|
||||
|
||||
Reference in New Issue
Block a user