|
-
May 14th, 1999, 02:38 AM
#2
Re: FindFirstFile() Function??
I don't know if this is the problem, but this is a kind of very big problem. You have declared your File Data as LPWIN32_FIND_DATA, which actually is a pointer to such a WIN32_FIND_DATA structure. So you have a pointer but you do not have a valid OBJECT to which this pointer to point. So try declaring you file data structure like this:
WIN32_FIND_DATA fd;
and then give its address to the FindFirstFile function like this:
fh = FindFirstFile(delpath,&fd);
try it out this way I do not see more problems at a first glance
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
|