Core: Removed CoInitializeEx from AppInit to solve D&D problem

git-svn-id: svn://ultimatepp.org/upp/trunk@13692 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-11-13 09:21:32 +00:00
commit 0b900f0976
4 changed files with 3 additions and 3 deletions

View file

@ -371,7 +371,7 @@ static bool sGetSymLinkPath0(const char *linkpath, String *path)
HRESULT hres;
IShellLink* psl;
IPersistFile* ppf;
CoInitializeEx(NULL, COINIT_MULTITHREADED);
CoInitialize(NULL);
hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink,
(PVOID *) &psl);
if(SUCCEEDED(hres)) {