Folks...
I think I am missing something on the above calls for a win2000 environment...
I try to use the functions to scan a directory (of course) but the second call to findnext crashes in NTDLL. The find is initialized with a call to findfirst and the parameter passing looks OK to me:
What am I missing?????
Thanks. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
I think I am missing something on the above calls for a win2000 environment...
I try to use the functions to scan a directory (of course) but the second call to findnext crashes in NTDLL. The find is initialized with a call to findfirst and the parameter passing looks OK to me:
Code:
int ret;
struct _finddata_t fdata;
ret = _findfirst("*.*",&fdata);
while (ret != -1)
{
ret = _findnext(ret,&fdata);
// crashes on the second call. NOP on fdata!
...
}
What am I missing?????
Thanks. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro