Advertisement

Reading the contents of a directory

Started by March 13, 2001 09:50 PM
1 comment, last by Awwnelson 23 years, 10 months ago
What is a good way to read the contents of a directory? I just started working with file I/O, and wrote a program to load and save a file whose name can be input by the user. I would like to change the program a bit so it doesn''t freeze every time the user types a filename in wrong.
http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/shellcc/Shell/Functions/SHGetFileInfo.htm

Other shells functions are useful too - like the standard gui one that let''s the user browse for the filename.

Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Advertisement
Thank you, kind sir.

This topic is closed to new replies.

Advertisement