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

C / C++ / MFC

 
GeneralRe: SOS!!!! Pin
parths18-Aug-03 17:50
parths18-Aug-03 17:50 
General%ws formatting option Pin
Tarundeep Singh Kalra17-Aug-03 20:32
Tarundeep Singh Kalra17-Aug-03 20:32 
GeneralRe: %ws formatting option Pin
Michael Dunn17-Aug-03 21:03
sitebuilderMichael Dunn17-Aug-03 21:03 
GeneralRe: %ws formatting option Pin
Tarundeep Singh Kalra17-Aug-03 22:47
Tarundeep Singh Kalra17-Aug-03 22:47 
GeneralRe: %ws formatting option Pin
David Crow18-Aug-03 3:00
David Crow18-Aug-03 3:00 
QuestionFile exists API ?? Pin
rohit.dhamija17-Aug-03 19:47
rohit.dhamija17-Aug-03 19:47 
AnswerRe: File exists API ?? Pin
MaxVC17-Aug-03 20:02
MaxVC17-Aug-03 20:02 
GeneralRe: File exists API ?? Pin
rohit.dhamija17-Aug-03 20:13
rohit.dhamija17-Aug-03 20:13 
Thanks max,
That was very useful. i got the following sample code from msdn . And it solved my problem too!
define _WIN32_WINNT 0x0400

#include "windows.h"

int
main(int argc, char *argv[])
{
WIN32_FIND_DATA FindFileData;
HANDLE hFind;

printf ("Target file is %s.\n", argv[1]);

hFind = FindFirstFile(argv[1], &FindFileData);

if (hFind == INVALID_HANDLE_VALUE) {
printf ("Invalid File Handle. Get Last Error reports %d\n", GetLastError ());
} else {
printf ("The first file found is %s\n", FindFileData.cFileName);
FindClose(hFind);
}

return (0);
}
AnswerRe: File exists API ?? Pin
pranavamhari17-Aug-03 20:23
pranavamhari17-Aug-03 20:23 
AnswerRe: File exists API ?? Pin
HPSI17-Aug-03 20:40
HPSI17-Aug-03 20:40 
AnswerRe: File exists API ?? Pin
Mathias S.17-Aug-03 22:06
Mathias S.17-Aug-03 22:06 
AnswerRe: File exists API ?? Pin
David Crow18-Aug-03 3:02
David Crow18-Aug-03 3:02 
Generalundelete Pin
pranavamhari17-Aug-03 18:10
pranavamhari17-Aug-03 18:10 
GeneralRe: undelete Pin
John M. Drescher17-Aug-03 19:00
John M. Drescher17-Aug-03 19:00 
GeneralRe: undelete Pin
parths18-Aug-03 17:59
parths18-Aug-03 17:59 
GeneralRe: undelete Pin
John M. Drescher18-Aug-03 18:13
John M. Drescher18-Aug-03 18:13 
GeneralMFC FAQ Pin
Joey Bloggs17-Aug-03 17:45
Joey Bloggs17-Aug-03 17:45 
GeneralRe: MFC FAQ Pin
HPSI17-Aug-03 20:35
HPSI17-Aug-03 20:35 
GeneralRe: MFC FAQ Pin
Rohde17-Aug-03 22:43
Rohde17-Aug-03 22:43 
GeneralRe: MFC FAQ Pin
HPSI18-Aug-03 2:21
HPSI18-Aug-03 2:21 
QuestionHow I can call SetCommState successfully? Pin
Cyclist17-Aug-03 17:42
Cyclist17-Aug-03 17:42 
AnswerRe: How I can call SetCommState successfully? Pin
Fredrik Skog18-Aug-03 0:44
Fredrik Skog18-Aug-03 0:44 
GeneralDeserialeze speed slow when file is big Pin
jim wang17-Aug-03 17:06
jim wang17-Aug-03 17:06 
GeneralRe: Deserialeze speed slow when file is big Pin
Neville Franks18-Aug-03 0:36
Neville Franks18-Aug-03 0:36 
GeneralAfxBeginThread and static functions Pin
Mike Ellertson17-Aug-03 16:37
sussMike Ellertson17-Aug-03 16:37 

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.