Advertisement

loading certain types of files..?

Started by July 18, 2001 01:25 PM
3 comments, last by stevenmarky 23 years, 7 months ago
I need to have a function in my program that creates an char array of all a certain type of file in a directory (e.g. "*.bmp"), how would I do this? so my array would read something like: "blah.bmp" "blah2.bmp" "anything.bmp" Please help, I would really like to know
As found in MSDN

HANDLE FindFirstFile(
LPCTSTR lpFileName, // file name
LPWIN32_FIND_DATA lpFindFileData // data buffer
);

G''luck,
-Alamar
Advertisement
thanks.but,
I want a list of all a certain type of file ,though, how exactly would I do it?
Do I set lpFileName to "*.bmp"?
yup

---------------
Ratfest.org
great, thanks,
I checked it out on MSDN

This topic is closed to new replies.

Advertisement