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