|
-
January 31st, 2002, 04:07 PM
#1
Problem with CFindFile
How do I get all Files (*.mp3) in this Code:
BROWSEINFO bi = { 0 };
TCHAR path[MAX_PATH];
char mydir[MAX_PATH];
bi.lpszTitle = _T("Wähle ein Verzeichnis das ausgelesen werden soll!");
bi.pszDisplayName = path;
LPITEMIDLIST pidl = SHBrowseForFolder ( &bi );
if ( pidl != 0 )
{
SHGetPathFromIDList(pidl, mydir); // besorgt den Namen des Ordners
if (CString(mydir).IsEmpty())
{
AfxMessageBox("Wähle ein gültiges Verzeichnis !!!");
OnOpenDirectory(); //Siehe hierzu Zeile 6 dieses Postings ;-)
}
}
I will open a directory a will all MP3 Files get to a function like TagReadingForFile!
How does this function work?? Can anybody watch my a code sample??
Sorry for my bad english, i am german!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|