Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder13-Sep-10 21:17
gothic_coder13-Sep-10 21:17 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697214-Sep-10 3:19
bob1697214-Sep-10 3:19 
GeneralRe: Access Denied in Local System Account Service Pin
gothic_coder14-Sep-10 20:52
gothic_coder14-Sep-10 20:52 
GeneralRe: Access Denied in Local System Account Service Pin
bob1697220-Sep-10 4:59
bob1697220-Sep-10 4:59 
QuestionUngroup Excel columns Pin
Mugdha_Aditya12-Sep-10 19:23
Mugdha_Aditya12-Sep-10 19:23 
AnswerRe: Ungroup Excel columns Pin
Niklas L13-Sep-10 2:23
Niklas L13-Sep-10 2:23 
GeneralRe: Ungroup Excel columns Pin
Mugdha_Aditya13-Sep-10 3:32
Mugdha_Aditya13-Sep-10 3:32 
QuestionChoosing files from a directory Pin
Danzy8312-Sep-10 11:36
Danzy8312-Sep-10 11:36 
Hi all. I have a console application, running under Windows, that asks for a folder or directory and includes those files it supports and leave the rest. The following code is part of the definition of the function that does it:

....
....

char filePath[280] = {0};

....
....

strcat(filePath, "*.mp3");

....
....


The application searches the folder for files to add. The above code works when FindFirstFile() is called. But I want a way through which other file extensions (e.g. .wav., .wma, etc) can be included so that files with these other file extensions will be returned. I did something as follows, which I only guessed as I did not know how to do it, and it did not work:


strcat(filePath, "*.mp3;*.wav;*.wma");


When FindFirstFile() is called, it returns INVALID_HANDLE_VALUE;
I need help on how to solve this problem. Thanks.
AnswerRe: Choosing files from a directory Pin
Luc Pattyn12-Sep-10 12:03
sitebuilderLuc Pattyn12-Sep-10 12:03 
GeneralRe: Choosing files from a directory Pin
Danzy8312-Sep-10 12:58
Danzy8312-Sep-10 12:58 
GeneralRe: Choosing files from a directory Pin
Luc Pattyn12-Sep-10 13:04
sitebuilderLuc Pattyn12-Sep-10 13:04 
GeneralRe: Choosing files from a directory Pin
Danzy8312-Sep-10 13:40
Danzy8312-Sep-10 13:40 
GeneralRe: Choosing files from a directory Pin
Luc Pattyn12-Sep-10 13:57
sitebuilderLuc Pattyn12-Sep-10 13:57 
GeneralRe: Choosing files from a directory Pin
Danzy8312-Sep-10 14:12
Danzy8312-Sep-10 14:12 
GeneralRe: Choosing files from a directory Pin
Richard MacCutchan12-Sep-10 23:06
mveRichard MacCutchan12-Sep-10 23:06 
GeneralRe: Choosing files from a directory Pin
Rick York13-Sep-10 6:42
mveRick York13-Sep-10 6:42 
GeneralRe: Choosing files from a directory Pin
Richard MacCutchan13-Sep-10 9:17
mveRichard MacCutchan13-Sep-10 9:17 
AnswerRe: Choosing files from a directory Pin
«_Superman_»12-Sep-10 18:45
professional«_Superman_»12-Sep-10 18:45 
QuestionHow to move buttons to the left side? Pin
coolhem11-Sep-10 15:40
coolhem11-Sep-10 15:40 
AnswerRe: How to move buttons to the left side? Pin
Code-o-mat12-Sep-10 22:31
Code-o-mat12-Sep-10 22:31 
AnswerRe: How to move buttons to the left side? Pin
Eugen Podsypalnikov13-Sep-10 0:32
Eugen Podsypalnikov13-Sep-10 0:32 
GeneralRe: How to move buttons to the left side? Pin
coolhem13-Sep-10 4:34
coolhem13-Sep-10 4:34 
GeneralRe: How to move buttons to the left side? Pin
Eugen Podsypalnikov13-Sep-10 5:14
Eugen Podsypalnikov13-Sep-10 5:14 
QuestionHow to tile multiple windows in a single view Pin
Vaclav_11-Sep-10 8:59
Vaclav_11-Sep-10 8:59 
AnswerRe: How to tile multiple windows in a single view Pin
ShanghaiDan11-Sep-10 9:57
ShanghaiDan11-Sep-10 9:57 

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.