|
-
March 6th, 2001, 03:04 AM
#1
directory reading
I need in an elder project (developed under VCC 1.5 I can t change it for some dll reasons)the content of an directory
CListBox ListBox;
LPSTR Path;
int Zero;
CString DirName;
Path = "C:\\TRANSFER\\*.*";
UINT attr = 0x0000;
ListBox.Dir(attr,Path);
Zero = ListBox.GetCount();
But I got always zero so where is the bug??
Any help is welcomed
Long
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
|