RE: Tortoise brings down xplorer2
From: zabkat info <info_at_zabkat.com>
Date: 2006-05-11 10:40:52 CEST
I think we have found at least one problem:
> STGMEDIUM medium;
Microsoft also did that mistake, casting a HANDLE into a pointer. See this
Standard OLE procedures mean that you cannot use a global handle straight,
CIDA* cida = (CIDA*)GlobalLock(medium.hGlobal);
This converts it from a meaningless handle to a proper memory location.
GlobalUnlock(medium.hGlobal);
Also I'm not sure what this statement does:
> LPCITEMIDLIST _parent = GetPIDLItem(cida, i), &parent);
Unbalanced parentheses, surely?
Could you please make the necessary adjustments?
---------------------------------------------------------------------
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.