Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL vector, set, etc, unique items Pin
Abebe17-Oct-03 2:03
Abebe17-Oct-03 2:03 
GeneralRe: STL vector, set, etc, unique items Pin
Michael Dunn17-Oct-03 4:58
sitebuilderMichael Dunn17-Oct-03 4:58 
QuestionSearch Engines... does anyone know? Pin
Steve Obbayi17-Oct-03 1:31
professionalSteve Obbayi17-Oct-03 1:31 
AnswerRe: Search Engines... does anyone know? Pin
Vitali Halershtein17-Oct-03 3:56
Vitali Halershtein17-Oct-03 3:56 
AnswerRe: Search Engines... does anyone know? Pin
valikac17-Oct-03 4:57
valikac17-Oct-03 4:57 
QuestionCopy binary file to IStream - best bufsize? Pin
Anonymous17-Oct-03 0:36
Anonymous17-Oct-03 0:36 
AnswerRe: Copy binary file to IStream - best bufsize? Pin
Steve S17-Oct-03 1:47
Steve S17-Oct-03 1:47 
GeneralSetNameOf Pin
Arjan Schouten17-Oct-03 0:33
Arjan Schouten17-Oct-03 0:33 
I'm using the SetNameOf function to rename a folder relative to its parent folder.
The Renaming works well but the pidl I get back is not the one I expect.


When I rename C:\Foo\Bar to C:\Foo\Bar.temp
the pidl I get back corresponds to C:\Documents and Settings\Arjan\Desktop\Bar.temp



<br />
LPCOLESTR lpNewName = A2OLE(GetItemText(m_hLockedItem));<br />
LPITEMIDLIST pidlNew;<br />
			<br />
HRESULT hr = pParentFolder->SetNameOf(AfxGetMainWnd()->GetSafeHwnd(),<br />
					pidlRel,<br />
					lpNewName,<br />
					SHGDN_INFOLDER,<br />
					&pidlNew);<br />
<br />
CString s;<br />
SHGetPathFromIDList(pidlNew, s.GetBuffer(MAX_PATH));<br />
s.ReleaseBuffer(); 



What am I doing wrong here?

Thanks,

Arjan.
QuestionHow to install the soap-client software on a client Pin
Braulio Dez16-Oct-03 23:47
Braulio Dez16-Oct-03 23:47 
GeneralLooking for free FTP library to build FTP client. Pin
George216-Oct-03 23:24
George216-Oct-03 23:24 
GeneralRe: Looking for free FTP library to build FTP client. Pin
Neville Franks16-Oct-03 23:51
Neville Franks16-Oct-03 23:51 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 0:00
George217-Oct-03 0:00 
GeneralRe: Looking for free FTP library to build FTP client. Pin
markkuk17-Oct-03 0:12
markkuk17-Oct-03 0:12 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 0:24
George217-Oct-03 0:24 
GeneralRe: Looking for free FTP library to build FTP client. Pin
Anonymous17-Oct-03 0:21
Anonymous17-Oct-03 0:21 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 0:28
George217-Oct-03 0:28 
GeneralRe: Looking for free FTP library to build FTP client. Pin
JohnJ17-Oct-03 1:00
JohnJ17-Oct-03 1:00 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 3:47
George217-Oct-03 3:47 
GeneralRe: Looking for free FTP library to build FTP client. Pin
JohnJ17-Oct-03 4:13
JohnJ17-Oct-03 4:13 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 4:34
George217-Oct-03 4:34 
GeneralRe: Looking for free FTP library to build FTP client. Pin
Vitali Halershtein17-Oct-03 4:19
Vitali Halershtein17-Oct-03 4:19 
GeneralRe: Looking for free FTP library to build FTP client. Pin
George217-Oct-03 4:37
George217-Oct-03 4:37 
GeneralRe: Looking for free FTP library to build FTP client. Pin
Vitali Halershtein17-Oct-03 5:07
Vitali Halershtein17-Oct-03 5:07 
GeneralIHTMLDocument2, print template and COM Object Pin
User 64185516-Oct-03 21:18
User 64185516-Oct-03 21:18 
GeneralComboBox problems when moving... Pin
Peter Mares16-Oct-03 20:56
Peter Mares16-Oct-03 20:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.