-----Original Message-----
From: Stefan Küng [mailto:tortoisesvn@gmail.com]
Sent: 10 May 2006 18:18
>Exactly. The Desktop is the shell namespace root and therefore *always*
>exists. Many functions have to use that root because of that. At least
>all functions that need a full path as the result and not just a
>filename. In your case, the property pages in the default explorer
>'properties' dialog only act on files/folders and don't need the full
>path (or don't need those if multiple items are selected). TSVN needs
>the full path even if multiple items are selected, so it's important
>that the PIDL root is the desktop.
If I understand correctly then this could be the problem. You are assuming
that HIDA_GetPIDLFolder will always return the desktop pidl (?) whereas in
the dataobject x2 supplies this is the common root of all the files in the
CIDA bundle.
The correct way to take the full path of item #i would be
ILCombine(HIDA_GetPIDLFolder(cida), HIDA_GetPIDLItem(cida, i))
> if (parent_)
> {
> hr = shellFolder->BindToObject(parent_, 0, IID_IShellFolder,
(void**)
> &parentFolder);
>
>In the above code snippet, the crash occurs inside the BindToObject()
>call because the root is not the desktop.
Can you please post the code how you get the "parent_" pidl? Is it
single-level as required by BindToObject?
Thanks
nikos
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 10 22:06:11 2006