Archived

This topic is now archived and is closed to further replies.

Sfpiano

SHGetPathFromIDList

Recommended Posts

I''m using the pidl from the Initialise function for tooptips. Initialize (LPCITEMIDLIST pidlFolder, LPDATAOBJECT pDataObj, HKEY hProgID) However when I call SHGetPathFromIDList(pidlFolder, charArray), it return false. I was reading the MSDN docs, but they didn''t offer much help. The file I was testing on was under My Documents, and I believe that''s a viable location, so does anyone else know what''s wrong? //------------------------------------------------------------------------------------------------------ The great logician Bertrand Russell once claimed that he could prove anything if given that 1+1=1. So one day, some fool asked him, "Ok. Prove that you''re the Pope." He thought for a while and proclaimed, "I am one. The Pope is one. Therefore, the Pope and I are one."

Share this post


Link to post
Share on other sites