mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
ec30cb1647
commit
0b900f0976
4 changed files with 3 additions and 3 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue