Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LONG_PTR (Hungarian notation) Pin
Hans Dietrich30-May-07 10:43
mentorHans Dietrich30-May-07 10:43 
GeneralRe: LONG_PTR (Hungarian notation) Pin
bob1697230-May-07 11:53
bob1697230-May-07 11:53 
GeneralRe: LONG_PTR (Hungarian notation) Pin
Matthew Faithfull30-May-07 12:50
Matthew Faithfull30-May-07 12:50 
QuestionIStorage problem Pin
josip cagalj30-May-07 7:19
josip cagalj30-May-07 7:19 
QuestionRe: IStorage problem Pin
Mark Salsbery30-May-07 7:45
Mark Salsbery30-May-07 7:45 
AnswerRe: IStorage problem Pin
josip cagalj30-May-07 21:39
josip cagalj30-May-07 21:39 
GeneralRe: IStorage problem Pin
Mark Salsbery31-May-07 5:21
Mark Salsbery31-May-07 5:21 
GeneralRe: IStorage problem Pin
josip cagalj31-May-07 23:17
josip cagalj31-May-07 23:17 
I already use SHBrowseForFolder() for folder selection.

"Were you using single backslashes in a string literal?"Re: Backslashes are in folder/files path's. I was doing it wrong, I've used the whole path name for CreateStream calls and I think that was the reason for errors. Now I use only filenames GetFileName() and it's all OK. But there is still issue of preparing a folder storage for burning on CD.
Now I'm working on an function which will be recursive, it will go in the folder and crating streams for all files in all folder inside the root folder.
My main concern is how, and is it posible, to create that much storage and stereams to pass to those storages and at the end write such storage on CD. I know it can be done. As I understand that storage are like folders and streams like files, is that means I should use storages for folders and streams for files. On example if I had a folder 'F1' and in side folder 'F2' and two files. And in 'F2' one file.

F1-->F2-->file3<br />
         ->file1<br />
         ->file2


I should do something like this: create a storage for 'F1', go inside and search for files, find 'F2' which is a folder (recursion call) I create another storage for 'F2' and go inside, where is a file named 'file3'. Now I create stream for 'file3' and add it to storage for folder 'F2', go back add and create two streams for 'file1' and 'file2' and all that plus storage for 'F2' add to storage for 'F1'! If this is so, how can I add storage to storage?
Thanks
GeneralRe: IStorage problem Pin
Mark Salsbery1-Jun-07 4:58
Mark Salsbery1-Jun-07 4:58 
Question[Message Deleted] Pin
joshp121730-May-07 5:01
joshp121730-May-07 5:01 
AnswerRe: I need Help with this Function Pin
toxcct30-May-07 5:06
toxcct30-May-07 5:06 
GeneralRe: I need Help with this Function Pin
joshp121730-May-07 5:10
joshp121730-May-07 5:10 
GeneralRe: I need Help with this Function Pin
Hamid_RT30-May-07 8:50
Hamid_RT30-May-07 8:50 
GeneralRe: I need Help with this Function Pin
joshp121730-May-07 8:51
joshp121730-May-07 8:51 
GeneralRe: I need Help with this Function Pin
Jeffrey Walton30-May-07 11:31
Jeffrey Walton30-May-07 11:31 
AnswerRe: I need Help with this Function Pin
#realJSOP30-May-07 6:09
mve#realJSOP30-May-07 6:09 
QuestionCEdit :ModifyStyle Pin
baerten30-May-07 4:45
baerten30-May-07 4:45 
AnswerRe: CEdit :ModifyStyle Pin
Mark Salsbery30-May-07 5:33
Mark Salsbery30-May-07 5:33 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 0:59
baerten31-May-07 0:59 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 1:46
Rajkumar R31-May-07 1:46 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 2:28
baerten31-May-07 2:28 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 3:14
Rajkumar R31-May-07 3:14 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 3:39
baerten31-May-07 3:39 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 4:27
Rajkumar R31-May-07 4:27 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 4:36
baerten31-May-07 4:36 

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.