Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Sub folder Pin
Suresh H15-Jan-07 21:16
Suresh H15-Jan-07 21:16 
GeneralRe: Creating Sub folder Pin
Rajesh R Subramanian15-Jan-07 21:21
professionalRajesh R Subramanian15-Jan-07 21:21 
GeneralRe: Creating Sub folder Pin
Suresh H15-Jan-07 22:00
Suresh H15-Jan-07 22:00 
GeneralRe: Creating Sub folder Pin
Rajesh R Subramanian15-Jan-07 22:04
professionalRajesh R Subramanian15-Jan-07 22:04 
GeneralRe: Creating Sub folder Pin
Suresh H15-Jan-07 22:10
Suresh H15-Jan-07 22:10 
GeneralRe: Creating Sub folder Pin
prasad_som15-Jan-07 22:42
prasad_som15-Jan-07 22:42 
GeneralRe: Creating Sub folder Pin
prasad_som15-Jan-07 23:12
prasad_som15-Jan-07 23:12 
GeneralRe: Creating Sub folder Pin
Rajesh R Subramanian15-Jan-07 22:11
professionalRajesh R Subramanian15-Jan-07 22:11 
Suresh H wrote:
SHCreateDirectory(NULL, TEXT("C:\\A\\B\\C"));
SHCreateDirectoryEx(NULL, TEXT("C:\\A\\B\\C"));


SHCreateDirectoryEx(NULL, TEXT("C:\\A\\B\\C")); There is a third parameter to the Ex version of this function!

Did you not even look at this function in the documentation? the Ex version of this function allows you to define security attributes to the folder that you create. That is the third parameter while using the Ex version and that is the only difference between SHCreateDirectory() and SHCreateDirectoryEx(). If you do not want to define security attributes, then do not use the Ex version.


Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா

GeneralRe: Creating Sub folder Pin
Suresh H15-Jan-07 22:14
Suresh H15-Jan-07 22:14 
GeneralRe: Creating Sub folder Pin
prasad_som15-Jan-07 21:38
prasad_som15-Jan-07 21:38 
GeneralRe: Creating Sub folder Pin
Rajesh R Subramanian15-Jan-07 22:23
professionalRajesh R Subramanian15-Jan-07 22:23 
AnswerRe: Creating Sub folder Pin
prasad_som15-Jan-07 20:05
prasad_som15-Jan-07 20:05 
QuestionTree View Control with Checkbox Pin
ramesh_s2115-Jan-07 19:51
ramesh_s2115-Jan-07 19:51 
AnswerRe: Tree View Control with Checkbox Pin
Hamid_RT15-Jan-07 19:58
Hamid_RT15-Jan-07 19:58 
GeneralRe: Tree View Control with Checkbox Pin
ramesh_s2115-Jan-07 20:42
ramesh_s2115-Jan-07 20:42 
GeneralRe: Tree View Control with Checkbox [modified] Pin
Kiran Pinjala15-Jan-07 21:29
Kiran Pinjala15-Jan-07 21:29 
GeneralRe: Tree View Control with Checkbox Pin
ramesh_s2116-Jan-07 0:12
ramesh_s2116-Jan-07 0:12 
QuestionLinker Errors in EVC++ code Pin
harshadha15-Jan-07 19:38
harshadha15-Jan-07 19:38 
AnswerRe: Linker Errors in EVC++ code Pin
prasad_som15-Jan-07 20:16
prasad_som15-Jan-07 20:16 
GeneralRe: Linker Errors in EVC++ code Pin
harshadha15-Jan-07 21:22
harshadha15-Jan-07 21:22 
Questionwriting Documentation. How ? Pin
Sakthiu15-Jan-07 19:17
Sakthiu15-Jan-07 19:17 
QuestionHow to Switch between applications? Pin
birajendu15-Jan-07 18:42
birajendu15-Jan-07 18:42 
AnswerRe: How to Switch between applications? Pin
Rajesh R Subramanian15-Jan-07 18:55
professionalRajesh R Subramanian15-Jan-07 18:55 
AnswerRe: How to Switch between applications? Pin
prasad_som15-Jan-07 19:03
prasad_som15-Jan-07 19:03 
GeneralRe: How to Switch between applications? Pin
birajendu15-Jan-07 21:00
birajendu15-Jan-07 21:00 

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.