Can anybody help me whith a small problem?
I need to create a program that finds .trc files on the disk. I have tried the FindFirstFile() method but I dont seem to get it right. There are som problems whith the headerfiles as well. Plz tell me witch HFiles to include.
Lets say that I get the Find function working. How do I change the name on the file?
Here is my code.
void main( void )
if((hFile = FindFirstFile("*.trc", &trc_File)) == NULL )
printf( "No *.trc files in current directory!\n" );
/* Find the rest of the .trc files */
while( FindNextFile ( hFile, &trc_File ) == 0 )
FindClose( hFile );