Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Find files with CFileFind? Pin
Ryan Binns19-Jul-03 22:12
Ryan Binns19-Jul-03 22:12 
GeneralRe: Find files with CFileFind? Pin
Dominik Reichl19-Jul-03 22:27
Dominik Reichl19-Jul-03 22:27 
GeneralRe: Find files with CFileFind? Pin
Ryan Binns19-Jul-03 22:29
Ryan Binns19-Jul-03 22:29 
GeneralRe: Find files with CFileFind? Pin
Dominik Reichl19-Jul-03 22:31
Dominik Reichl19-Jul-03 22:31 
GeneralRe: Find files with CFileFind? Pin
Ryan Binns19-Jul-03 22:33
Ryan Binns19-Jul-03 22:33 
GeneralRe: Find files with CFileFind? Pin
Dominik Reichl19-Jul-03 22:38
Dominik Reichl19-Jul-03 22:38 
GeneralRe: Find files with CFileFind? Pin
Ryan Binns19-Jul-03 22:43
Ryan Binns19-Jul-03 22:43 
GeneralRe: Find files with CFileFind? Pin
Dominik Reichl19-Jul-03 22:42
Dominik Reichl19-Jul-03 22:42 
O damn, I cannot read the docs Blush | :O Blush | :O Blush | :O

MSDN on FindNextFile:
<br />
Return<br />
Nonzero if there are more files; zero if this is the last file, and the previous call to either FindFile or FindNextFile returned nonzero. To get extended error information, call the Win32 functionGetLastError.
.

So the (in my opinion stupid Big Grin | :-D ) function returns 0 if it returns information about the last file. I expected it returns 0 if there is no more file.

Blush | :O
-Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)

GeneralRe: Find files with CFileFind? Pin
Ryan Binns19-Jul-03 22:44
Ryan Binns19-Jul-03 22:44 
AnswerRe: Find files with CFileFind? Pin
wb20-Jul-03 2:29
wb20-Jul-03 2:29 
GeneralPlease Help I deleted my resource.h file Pin
19-Jul-03 17:08
suss19-Jul-03 17:08 
GeneralRe: Please Help I deleted my resource.h file Pin
Tom Archer19-Jul-03 17:49
Tom Archer19-Jul-03 17:49 
GeneralRe: Please Help I deleted my resource.h file Pin
Member 43419219-Jul-03 18:40
Member 43419219-Jul-03 18:40 
GeneralRe: Please Help I deleted my resource.h file Pin
Tom Archer20-Jul-03 3:04
Tom Archer20-Jul-03 3:04 
GeneralRe: Please Help I deleted my resource.h file Pin
Taka Muraoka20-Jul-03 4:52
Taka Muraoka20-Jul-03 4:52 
GeneralAbout RUNTIME_CLASS Pin
FlyingDancer19-Jul-03 16:14
FlyingDancer19-Jul-03 16:14 
GeneralRe: About RUNTIME_CLASS Pin
Tom Archer19-Jul-03 17:35
Tom Archer19-Jul-03 17:35 
GeneralRe: About RUNTIME_CLASS Pin
FlyingDancer19-Jul-03 18:56
FlyingDancer19-Jul-03 18:56 
QuestionWhen to use Critical Sections in Threads? Pin
Aidman19-Jul-03 12:00
Aidman19-Jul-03 12:00 
AnswerRe: When to use Critical Sections in Threads? Pin
Rickard Andersson2019-Jul-03 12:35
Rickard Andersson2019-Jul-03 12:35 
GeneralRe: When to use Critical Sections in Threads? Pin
peterchen19-Jul-03 23:00
peterchen19-Jul-03 23:00 
GeneralRe: When to use Critical Sections in Threads? Pin
Rickard Andersson2020-Jul-03 0:43
Rickard Andersson2020-Jul-03 0:43 
AnswerRe: When to use Critical Sections in Threads? Pin
Ted Ferenc19-Jul-03 12:58
Ted Ferenc19-Jul-03 12:58 
AnswerRe: When to use Critical Sections in Threads? Pin
Neville Franks19-Jul-03 13:03
Neville Franks19-Jul-03 13:03 
AnswerRe: When to use Critical Sections in Threads? Pin
Ryan_Roberts19-Jul-03 13:18
Ryan_Roberts19-Jul-03 13:18 

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.