Click here to Skip to main content
15,912,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 1:27
kydfru26-Jun-03 1:27 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
Ryan Binns26-Jun-03 1:49
Ryan Binns26-Jun-03 1:49 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 1:52
wheregone26-Jun-03 1:52 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 2:26
kydfru26-Jun-03 2:26 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 5:27
wheregone26-Jun-03 5:27 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
kydfru26-Jun-03 7:28
kydfru26-Jun-03 7:28 
GeneralRe: I have discovered a BUG (or at least a strange behavour in CStdioFile)! Pin
wheregone26-Jun-03 14:22
wheregone26-Jun-03 14:22 
QuestionHow to determine whether a file is an executable by examining the file extension? Pin
dandy7725-Jun-03 20:28
dandy7725-Jun-03 20:28 
Hi, all.

I wrote a code to execute file with shellexecute function.

Since I wanna find the executable program of specific file, I use FindExecutable function.

However, I wanna make sure that the result of FindExecutable fuction is really executable program name.

I found PathIsExe function in MSDN Library, but it can't be run in Win 95 or Win 98 according to MSDN Library.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp

I can't remember the function name that does the same work as PathIsExe.

Could you please help me to find API or other function that does determine whether a file is an executable by examining the file extension?

Thanx in advance. Smile | :)

AnswerRe: How to determine whether a file is an executable by examining the file extension? Pin
Toni7825-Jun-03 21:56
Toni7825-Jun-03 21:56 
GeneralRe: How to determine whether a file is an executable by examining the file extension? Pin
dandy7725-Jun-03 22:20
dandy7725-Jun-03 22:20 
GeneralRe: How to determine whether a file is an executable by examining the file extension? Pin
Toni7826-Jun-03 21:23
Toni7826-Jun-03 21:23 
AnswerRe: How to determine whether a file is an executable by examining the file extension? Pin
Joaquín M López Muñoz25-Jun-03 23:14
Joaquín M López Muñoz25-Jun-03 23:14 
GeneralRasDial function Pin
no_body6925-Jun-03 19:35
no_body6925-Jun-03 19:35 
GeneralRe: RasDial function Pin
Joaquín M López Muñoz25-Jun-03 23:46
Joaquín M López Muñoz25-Jun-03 23:46 
GeneralRe: RasDial function Pin
no_body6926-Jun-03 0:31
no_body6926-Jun-03 0:31 
GeneralRe: RasDial function Pin
Joaquín M López Muñoz26-Jun-03 0:36
Joaquín M López Muñoz26-Jun-03 0:36 
GeneralRe: RasDial function Pin
no_body6927-Jun-03 22:38
no_body6927-Jun-03 22:38 
QuestionHow To Customize the CRectTracker Grippers Pin
Vikrant Vikrant25-Jun-03 19:17
Vikrant Vikrant25-Jun-03 19:17 
AnswerRe: How To Customize the CRectTracker Grippers Pin
Rob Caldecott25-Jun-03 22:13
Rob Caldecott25-Jun-03 22:13 
GeneralRe: How To Customize the CRectTracker Grippers Pin
Vikrant Vikrant25-Jun-03 23:14
Vikrant Vikrant25-Jun-03 23:14 
GeneralRe: How To Customize the CRectTracker Grippers Pin
Rob Caldecott25-Jun-03 23:34
Rob Caldecott25-Jun-03 23:34 
GeneralRe: How To Customize the CRectTracker Grippers Pin
Vikrant Vikrant26-Jun-03 0:46
Vikrant Vikrant26-Jun-03 0:46 
QuestionConverting Char* hex to Integer..? Pin
Member 40481325-Jun-03 19:00
Member 40481325-Jun-03 19:00 
AnswerRe: Converting Char* hex to Integer..? Pin
Ravi Bhavnani25-Jun-03 19:11
professionalRavi Bhavnani25-Jun-03 19:11 
GeneralRe: Converting Char* hex to Integer..? Pin
Member 40481325-Jun-03 19:15
Member 40481325-Jun-03 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.