Click here to Skip to main content
16,007,760 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFile packers Pin
13-Jun-02 14:27
suss13-Jun-02 14:27 
GeneralRe: File packers Pin
Ravi Bhavnani13-Jun-02 17:53
professionalRavi Bhavnani13-Jun-02 17:53 
GeneralRe: File packers Pin
Nish Nishant13-Jun-02 18:29
sitebuilderNish Nishant13-Jun-02 18:29 
QuestionHow can I get the version of RICHED20.DLL? Pin
Oz Ben Eliezer13-Jun-02 14:08
Oz Ben Eliezer13-Jun-02 14:08 
AnswerRe: How can I get the version of RICHED20.DLL? Pin
James R. Twine13-Jun-02 17:53
James R. Twine13-Jun-02 17:53 
GeneralString Table Resource Pin
Atlence13-Jun-02 13:51
Atlence13-Jun-02 13:51 
GeneralRe: String Table Resource Pin
James R. Twine13-Jun-02 17:54
James R. Twine13-Jun-02 17:54 
GeneralPostThreadMessage Pin
wilche13-Jun-02 13:34
wilche13-Jun-02 13:34 
Recently, I wrote on message board, that I had problem PostThreadMessage.
It did not post to the thread as expected, but GetLastError did not indicate that an error has occurred.

The bug disappear when I used:

Sleep(20);

to force it sleep for 20 ms. But when I tested it using larger test data, the same problem occurred, even more serious then before. Furthermore the performance eroded to point that it was better off not using threads.
In both cases, resources was critically reduced.

The "apparent" culprit was that the low resources. As the rate messages entering the message queue was higher than it's removal through processing, net increase in queue. Each message can contain significant amounts of data (up to 20k) and hence low resources. I have checked carefully there is no memory leakage so this was the only conclusion I could draw.

Closer study also showed that SendMessage also failed under these circumstances.

What I want to ask,
1, Has anyone else had this sort of problem?
2, Is my conclusion correct?
3, Is there a fix for this?

Thank you! Any reply is greatly appreciated

Kind regards,
wilche
Smile | :)

The more simple things are, the more complex is the way it works.
The more complex things are, there is probably a simpler solution.
GeneralRe: PostThreadMessage Pin
Rama Krishna Vavilala13-Jun-02 14:45
Rama Krishna Vavilala13-Jun-02 14:45 
GeneralRe: PostThreadMessage Pin
wilche13-Jun-02 16:36
wilche13-Jun-02 16:36 
Generallink error Pin
13-Jun-02 12:44
suss13-Jun-02 12:44 
GeneralRe: link error Pin
Rama Krishna Vavilala13-Jun-02 12:52
Rama Krishna Vavilala13-Jun-02 12:52 
GeneralRe: link error Pin
13-Jun-02 12:57
suss13-Jun-02 12:57 
General10x Pin
13-Jun-02 13:00
suss13-Jun-02 13:00 
GeneralOpen files by double clicking Pin
Sun666613-Jun-02 10:48
Sun666613-Jun-02 10:48 
GeneralSTL valarray usage Pin
David Leikis13-Jun-02 10:23
David Leikis13-Jun-02 10:23 
GeneralRe: STL valarray usage Pin
Joaquín M López Muñoz13-Jun-02 12:20
Joaquín M López Muñoz13-Jun-02 12:20 
QuestionHow do i create a dialog from a resource file where the parent window can't be used untill the dialog has been closed? Pin
redeemer13-Jun-02 9:20
redeemer13-Jun-02 9:20 
AnswerRe: How do i create a dialog from a resource file where the parent window can't be used untill the dialog has been closed? Ans: you can set the parent window as parent to the dialog or disable te window and enalbe it when the dialog is closed Pin
loket13-Jun-02 9:43
loket13-Jun-02 9:43 
GeneralRe: How do i create a dialog from a resource file where the parent window can't be used untill the dialog has been closed? Ans: you can set the parent window as parent to the dialog or disable te window and enalbe it when the dialog is closed Pin
redeemer13-Jun-02 9:39
redeemer13-Jun-02 9:39 
General<b></b> Pin
Rama Krishna Vavilala13-Jun-02 10:10
Rama Krishna Vavilala13-Jun-02 10:10 
GeneralRe Pin
Marc Richarme13-Jun-02 13:13
Marc Richarme13-Jun-02 13:13 
AnswerRe: How do i create a dialog from a resource file where the parent window can't be used untill the dialog has been closed? Pin
Tim Smith13-Jun-02 9:43
Tim Smith13-Jun-02 9:43 
GeneralRe: How do i create a dialog from a resource file where the parent window can't be used untill the dialog has been closed? Pin
redeemer13-Jun-02 10:06
redeemer13-Jun-02 10:06 
GeneralPassing an object from VB to VC++ ActiveX control Pin
13-Jun-02 8:36
suss13-Jun-02 8:36 

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.