Click here to Skip to main content
15,894,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 8:27
professional Randor 23-Jul-09 8:27 
QuestionRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 19:24
professionalChesnokov Yuriy23-Jul-09 19:24 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 23:25
professional Randor 23-Jul-09 23:25 
Question"Ok" and "Apply" functions are overruled by the other property pages. Pin
aravind.sn23-Jul-09 1:14
aravind.sn23-Jul-09 1:14 
AnswerRe: "Ok" and "Apply" functions are overruled by the other property pages. Pin
uraeu23-Jul-09 3:03
uraeu23-Jul-09 3:03 
GeneralRe: "Ok" and "Apply" functions are overruled by the other property pages. Pin
aravind.sn23-Jul-09 3:14
aravind.sn23-Jul-09 3:14 
QuestionIn Windows Operating system where does the ACL of an object is stored Pin
Anil Veeraghattapu 423-Jul-09 0:52
Anil Veeraghattapu 423-Jul-09 0:52 
AnswerRe: In Windows Operating system where does the ACL of an object is stored [modified] Pin
Adam Roderick J23-Jul-09 1:08
Adam Roderick J23-Jul-09 1:08 
QuestionVisual C++ MFC,CDocument::SetTitle invalid Pin
akira3222-Jul-09 21:38
akira3222-Jul-09 21:38 
AnswerRe: Visual C++ MFC,CDocument::SetTitle invalid Pin
Kushagra Tiwari23-Jul-09 0:04
Kushagra Tiwari23-Jul-09 0:04 
QuestionProblem with ReadFile Funhction Pin
Shiv Murti Pal22-Jul-09 21:19
Shiv Murti Pal22-Jul-09 21:19 
AnswerRe: Problem with ReadFile Funhction Pin
Michael Schubert22-Jul-09 21:47
Michael Schubert22-Jul-09 21:47 
GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal22-Jul-09 23:37
Shiv Murti Pal22-Jul-09 23:37 
GeneralRe: Problem with ReadFile Funhction Pin
Michael Schubert22-Jul-09 23:53
Michael Schubert22-Jul-09 23:53 
GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal23-Jul-09 2:27
Shiv Murti Pal23-Jul-09 2:27 
GeneralRe: Problem with ReadFile Funhction Pin
krmed23-Jul-09 2:51
krmed23-Jul-09 2:51 
Have you seen the Return Value section of MSDN?
If the function succeeds, the return value is nonzero.

If the function fails, the return value is 0 (zero). To get extended error information, call GetLastError.

If the return value is nonzero and the number of bytes read is 0 (zero),
the file pointer is beyond the current end of the file at the time of
the read operation. However, if the file is opened with FILE_FLAG_OVERLAPPED
and lpOverlapped is not NULL, the return value is 0 (zero) and GetLastError
returns ERROR_HANDLE_EOF when the file pointer goes beyond the current end
of file.

What is the value of aa when the function returns? Try calling GetLastError() to get more information.

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal23-Jul-09 18:56
Shiv Murti Pal23-Jul-09 18:56 
GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal24-Jul-09 1:25
Shiv Murti Pal24-Jul-09 1:25 
QuestionHow to generate Keyboard events ? Pin
Member 383463022-Jul-09 21:14
Member 383463022-Jul-09 21:14 
AnswerRe: How to generate Keyboard events ? Pin
Emilio Garavaglia22-Jul-09 21:52
Emilio Garavaglia22-Jul-09 21:52 
AnswerRe: How to generate Keyboard events ? Pin
«_Superman_»22-Jul-09 22:18
professional«_Superman_»22-Jul-09 22:18 
AnswerRe: How to generate Keyboard events ? Pin
Adam Roderick J22-Jul-09 22:45
Adam Roderick J22-Jul-09 22:45 
GeneralRe: How to generate Keyboard events ? Pin
Kushagra Tiwari23-Jul-09 0:16
Kushagra Tiwari23-Jul-09 0:16 
GeneralRe: How to generate Keyboard events ? Pin
Member 383463023-Jul-09 0:43
Member 383463023-Jul-09 0:43 
AnswerRe: How to generate Keyboard events ? Pin
Adam Roderick J23-Jul-09 18:26
Adam Roderick J23-Jul-09 18:26 

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.