Click here to Skip to main content
16,008,719 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPerforming registration -- What does it performs ? Pin
Braulio Dez25-Mar-02 3:41
Braulio Dez25-Mar-02 3:41 
AnswerRe: Performing registration -- What does it performs ? Pin
Joaquín M López Muñoz25-Mar-02 6:10
Joaquín M López Muñoz25-Mar-02 6:10 
GeneralRe: Performing registration -- What does it performs ? Pin
Braulio Dez25-Mar-02 6:50
Braulio Dez25-Mar-02 6:50 
GeneralRe: Performing registration -- What does it performs ? Pin
Joaquín M López Muñoz25-Mar-02 6:59
Joaquín M López Muñoz25-Mar-02 6:59 
QuestionNT\2K users? Pin
Fred Ackers25-Mar-02 3:08
Fred Ackers25-Mar-02 3:08 
AnswerRe: NT\2K users? Pin
adara25-Mar-02 4:23
adara25-Mar-02 4:23 
GeneralRe: NT\2K users? Pin
Fred Ackers26-Mar-02 13:29
Fred Ackers26-Mar-02 13:29 
Generalquestion on SHFILEOPSTRUCT Pin
jafrazee25-Mar-02 3:04
jafrazee25-Mar-02 3:04 
i have something wrong but not sure what to look for.
the directory that i am passing is vaild (i can use _rmdir() and it works using the same variable.
but my problem is that i do not know how may files or sub-diretories may be in the the folder that i wish to delete. From what i understand this function will delete folders that have contents. i have been trying to delete for now an empty folder dirname = c:\\junk
when i run SHFileOperation() i get:
Cannot Delete File: File System Error(1026)
if i check the attributes on the directory there is nothing checked.

thank you for any help

SHFILEOPSTRUCT shf;
memset(&shf,0,sizeof(shf));

shf.hwnd = mywindow::GetSafeHwnd();
shf.wFunc = FO_DELETE;
shf.pFrom = dirname;///////////////this is a valid directory
shf.fFlags = FOF_SIMPLEPROGRESS | FOF_NOCONFIRMATION ;

int shfret = SHFileOperation(&shf);

GeneralRe: question on SHFILEOPSTRUCT Pin
Joaquín M López Muñoz25-Mar-02 7:32
Joaquín M López Muñoz25-Mar-02 7:32 
GeneralWindow's visual behavior overriding Pin
Aggtaa25-Mar-02 3:00
Aggtaa25-Mar-02 3:00 
GeneralRe: Window's visual behavior overriding Pin
Paul M Watt25-Mar-02 6:03
mentorPaul M Watt25-Mar-02 6:03 
GeneralSorry,2nd:How do I retrieve the container window Ptr(HWND) in the COM? (eg.IE client area) Pin
xelin25-Mar-02 1:39
xelin25-Mar-02 1:39 
GeneralAdding a ShutDown option Pin
Florin Vasilescu25-Mar-02 0:14
Florin Vasilescu25-Mar-02 0:14 
GeneralRe: Adding a ShutDown option Pin
alex.barylski25-Mar-02 0:35
alex.barylski25-Mar-02 0:35 
QuestionCControlBar show...? Pin
alex.barylski24-Mar-02 23:58
alex.barylski24-Mar-02 23:58 
AnswerRe: CControlBar show...? Pin
Tomasz Sowinski25-Mar-02 0:12
Tomasz Sowinski25-Mar-02 0:12 
GeneralRe: CControlBar show...? Pin
alex.barylski25-Mar-02 0:25
alex.barylski25-Mar-02 0:25 
GeneralRe: CControlBar show...? Pin
Tomasz Sowinski25-Mar-02 0:31
Tomasz Sowinski25-Mar-02 0:31 
GeneralRe: CControlBar show...? Pin
alex.barylski25-Mar-02 0:38
alex.barylski25-Mar-02 0:38 
GeneralRe: CControlBar show...? Pin
alex.barylski25-Mar-02 0:41
alex.barylski25-Mar-02 0:41 
GeneralRe: CControlBar show...? Pin
Tomasz Sowinski25-Mar-02 0:45
Tomasz Sowinski25-Mar-02 0:45 
GeneralRe: CControlBar show...? Pin
alex.barylski25-Mar-02 11:59
alex.barylski25-Mar-02 11:59 
GeneralWTL and Visual Studio .NET Pin
24-Mar-02 23:13
suss24-Mar-02 23:13 
GeneralRe: WTL and Visual Studio .NET Pin
Michael Dunn25-Mar-02 17:48
sitebuilderMichael Dunn25-Mar-02 17:48 
GeneralRe: WTL and Visual Studio .NET Pin
25-Mar-02 23:58
suss25-Mar-02 23:58 

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.