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

C / C++ / MFC

 
AnswerRe: WS_EX_TOOLWINDOW doesn't work? Pin
Neville Franks17-Dec-02 7:37
Neville Franks17-Dec-02 7:37 
GeneralRe: WS_EX_TOOLWINDOW doesn't work? Pin
User 665818-Dec-02 1:52
User 665818-Dec-02 1:52 
GeneralFile open Failed !! Pin
act_x17-Dec-02 6:29
act_x17-Dec-02 6:29 
GeneralRe: File open Failed !! Pin
act_x17-Dec-02 7:54
act_x17-Dec-02 7:54 
GeneralToolbar is disabled Pin
tahirjhangvi17-Dec-02 5:56
tahirjhangvi17-Dec-02 5:56 
GeneralRe: Toolbar is disabled Pin
tahirjhangvi17-Dec-02 5:59
tahirjhangvi17-Dec-02 5:59 
GeneralRe: Toolbar is disabled Pin
act_x17-Dec-02 8:30
act_x17-Dec-02 8:30 
Generalwin32 app code to console mode help needed Pin
joshfl17-Dec-02 5:27
joshfl17-Dec-02 5:27 
hey everyone, I need to change some win32 app code to run in console mode,
I need to fix my directory iteration routine.
basically i am looping thru a directory, and operating on the files with the following......

// Open directory for read
CFileInfoArray fia;
fia.AddDir(
m_spoolpath, // Directory
"*.*", // Filemask (all files)
TRUE, // Recurse subdirs
CFileInfoArray::AP_SORTBYNAME | CFileInfoArray::AP_SORTASCENDING,FALSE
);

// here will start the directory iteration
for (int ji=0;ji<fia.GetSize();ji++) {
// so on and so on
}


but that wont work in console mode... can someone tell me how to make either that code work in console mode ( if possible) , or provide me a snippet example that will to do the same general task, looping thru the files in a directory, giving me a filename to operate on inside the loop.....

thanks in advance Smile | :)
josh
GeneralRe: win32 app code to console mode help needed Pin
Rick York17-Dec-02 5:40
mveRick York17-Dec-02 5:40 
GeneralRe: win32 app code to console mode help needed Pin
joshfl17-Dec-02 6:41
joshfl17-Dec-02 6:41 
GeneralRe: win32 app code to console mode help needed Pin
joshfl17-Dec-02 7:39
joshfl17-Dec-02 7:39 
GeneralRe: win32 app code to console mode help needed Pin
Nitron17-Dec-02 7:40
Nitron17-Dec-02 7:40 
Generalurgent plz help Pin
aymenz17-Dec-02 4:17
aymenz17-Dec-02 4:17 
GeneralRe: urgent plz help Pin
Anonymous17-Dec-02 4:21
Anonymous17-Dec-02 4:21 
GeneralRe: urgent plz help Pin
aymenz17-Dec-02 4:26
aymenz17-Dec-02 4:26 
GeneralRe: urgent plz help Pin
Stefan Pedersen17-Dec-02 4:34
Stefan Pedersen17-Dec-02 4:34 
GeneralRe: urgent plz help Pin
Michael P Butler17-Dec-02 4:38
Michael P Butler17-Dec-02 4:38 
GeneralRe: urgent plz help Pin
Stefan Pedersen17-Dec-02 4:51
Stefan Pedersen17-Dec-02 4:51 
GeneralRe: urgent plz help Pin
Jason Henderson17-Dec-02 5:55
Jason Henderson17-Dec-02 5:55 
GeneralRe: urgent plz help Pin
Christian Graus17-Dec-02 8:08
protectorChristian Graus17-Dec-02 8:08 
GeneralRe: urgent plz help Pin
Michael P Butler17-Dec-02 4:37
Michael P Butler17-Dec-02 4:37 
GeneralRe: urgent plz help Pin
Anonymous17-Dec-02 14:43
Anonymous17-Dec-02 14:43 
GeneralRe: urgent plz help Pin
Nitron17-Dec-02 4:59
Nitron17-Dec-02 4:59 
GeneralRe: urgent plz help Pin
Christian Graus17-Dec-02 8:09
protectorChristian Graus17-Dec-02 8:09 
GeneralRe: urgent plz help Pin
Nitron17-Dec-02 8:16
Nitron17-Dec-02 8:16 

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.