somehow the code gets trashed. here it is:
char* FFF(TCHAR FilePath[MAX_PATH])
{
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
hFind = FindFirstFile(FilePath, &FindFileData);
if (hFind == INVALID_HANDLE_VALUE)
return _strdup("ERROR");
else {
return _strdup(FindFileData.cFileName);
}
}
________________________________
From: Gus Vincent Dato <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, November 12, 2008 13:07:20
Subject: [c-prog] Passing variables
hi guys,
im trying to figure out how to pass variables. can you please help me?
below is the code snippet thats causing compilation errors:
= = = = =
char
{
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
hFind = FindFirstFile( FilePath, &FindFileData) ;
}
}
= = = = =
thanks for the help.* FFF(TCHAR FilePath[MAX_ PATH])if( hFind ==
INVALID_HANDLE_ VALUE)return_ strdup("ERROR" );else{return_ strdup(FindFileD
ata.cFileName) ;
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail. promotions. yahoo.com/ newdomains/ aa/
New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
[Non-text portions of this message have been removed]