Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Ho to place a screen saver in a Dialog BOx Pin
ohadp26-Apr-04 1:39
ohadp26-Apr-04 1:39 
Generalheader versions probelm when WINVER >0x0500 Pin
makkarhardeep@rediffmail.com25-Apr-04 22:03
makkarhardeep@rediffmail.com25-Apr-04 22:03 
GeneralRe: header versions probelm when WINVER >0x0500 Pin
Mike Dimmick26-Apr-04 0:12
Mike Dimmick26-Apr-04 0:12 
GeneralReafFile stalls Pin
Olof Forshell25-Apr-04 21:39
Olof Forshell25-Apr-04 21:39 
GeneralRe: ReafFile stalls Pin
Paul Ranson26-Apr-04 1:34
Paul Ranson26-Apr-04 1:34 
GeneralRe: ReafFile stalls Pin
Olof Forshell26-Apr-04 9:39
Olof Forshell26-Apr-04 9:39 
GeneralRe: ReafFile stalls Pin
Paul Ranson26-Apr-04 11:19
Paul Ranson26-Apr-04 11:19 
GeneralRe: ReafFile stalls Pin
Olof Forshell19-Jun-04 2:02
Olof Forshell19-Jun-04 2:02 
Hi Paul,

Sorry I've taken so long to reply.

I think I may have found what causes the problem.

In some cases the ReadFile parameter 3 (count) added to parameter 2 (pointer) may result in an address which causes a memory protection fault. (In my case) NT4 detects this and reports an error, but in some of the cases - where there is unallocated memory available immediately after the allocated buffer - NT is "nice" and allows the ReadFile call. In other cases - where there is no memory - you get the error. This gives the error the appearance of being intermittent which caused me to start digging into the apparent fact that it always occurred after the xth call to ReadFile and what had I been doing x times elsewhere.

You get the picture.

Olof
GeneralChecking of a file before the main window is shown Pin
ykutanoor25-Apr-04 21:02
ykutanoor25-Apr-04 21:02 
GeneralRe: Checking of a file before the main window is shown Pin
фил25-Apr-04 22:46
фил25-Apr-04 22:46 
GeneralChecking of a file before the main window is shown Pin
ykutanoor25-Apr-04 21:02
ykutanoor25-Apr-04 21:02 
GeneralPerl with Visual C++ Pin
Iceberg7625-Apr-04 18:18
Iceberg7625-Apr-04 18:18 
GeneralRe: Perl with Visual C++ Pin
Garth J Lancaster25-Apr-04 21:17
professionalGarth J Lancaster25-Apr-04 21:17 
GeneralHelp me Pin
ChuThaiDuong25-Apr-04 17:28
ChuThaiDuong25-Apr-04 17:28 
GeneralRe: Help me Pin
Prakash Nadar25-Apr-04 18:29
Prakash Nadar25-Apr-04 18:29 
GeneralView Scrolling Pin
Reunion25-Apr-04 17:18
Reunion25-Apr-04 17:18 
GeneralRe: View Scrolling Pin
Prakash Nadar25-Apr-04 18:51
Prakash Nadar25-Apr-04 18:51 
QuestionHow to run an exe from memory? Pin
KevinZhaoShK25-Apr-04 16:25
KevinZhaoShK25-Apr-04 16:25 
AnswerRe: How to run an exe from memory? Pin
David Crow26-Apr-04 2:42
David Crow26-Apr-04 2:42 
QuestionHow can add and change myself data to exe file?? Pin
fftz25-Apr-04 16:19
fftz25-Apr-04 16:19 
AnswerRe: How can add and change myself data to exe file?? Pin
grigsoft25-Apr-04 19:52
grigsoft25-Apr-04 19:52 
GeneralWorker Thread problem Pin
nanukos25-Apr-04 15:09
nanukos25-Apr-04 15:09 
GeneralRe: Worker Thread problem Pin
Antony M Kancidrowski26-Apr-04 2:07
Antony M Kancidrowski26-Apr-04 2:07 
GeneralRe: Worker Thread problem Pin
nanukos26-Apr-04 4:30
nanukos26-Apr-04 4:30 
GeneralRe: Worker Thread problem Pin
Antony M Kancidrowski26-Apr-04 11:41
Antony M Kancidrowski26-Apr-04 11:41 

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.