Click here to Skip to main content
15,914,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Owner Draw button changes the tab order Pin
kvrnkiran11-Jun-07 19:32
kvrnkiran11-Jun-07 19:32 
QuestionAdding Ribbon/Buttons in Word 2007 Pin
klarz11-Jun-07 2:22
klarz11-Jun-07 2:22 
QuestionAttaching popup menu to an existing menu Pin
prithaa11-Jun-07 2:04
prithaa11-Jun-07 2:04 
AnswerRe: Attaching popup menu to an existing menu Pin
kvrnkiran11-Jun-07 19:28
kvrnkiran11-Jun-07 19:28 
AnswerRe: Attaching popup menu to an existing menu Pin
ThatsAlok11-Jun-07 20:06
ThatsAlok11-Jun-07 20:06 
GeneralRe: Attaching popup menu to an existing menu Pin
prithaa12-Jun-07 1:21
prithaa12-Jun-07 1:21 
QuestionSocket programming in VC++ Pin
sakssp11-Jun-07 1:51
sakssp11-Jun-07 1:51 
AnswerRe: Socket programming in VC++ Pin
Roger Stoltz11-Jun-07 5:34
Roger Stoltz11-Jun-07 5:34 
sakssp wrote:
how to set the highest priority to socket program.


Why do you think you want to boost the priority? Suspicious | :suss:
Chances are that the error you're trying to "correct" by tweaking the priorities is a design flaw.
Tweaking the priorities of threads and processes is almost always wrong, or at least the wrong tool for the job. Don't mistake Windows for a real-time OS.
When you write it like that, I read it like "how can I disguise my error to make it even harder to track down". Wink | ;)

What seems to be the most common mistakes when developing socket applications are...
  • CSocket is used without the developer knowing that CSocket is a blocking implementation. Converting to CAsyncSocket is usually the medicine for this.
  • CSocket and/or CAsyncSocket is used in a multithreaded application and worker threads are used instead of UI-threads. The threads that the sockets reside in have to pump messages and thus must be UI-threads.

See here[^] to get some more ideas.

If you neither find this post nor the link above helpful, post again and describe what you're trying to accomplish and what you've done so far. Especially if you still think you need to tweak the priorities of your process and its threads.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown

AnswerRe: Socket programming in VC++ Pin
Mark Salsbery11-Jun-07 7:28
Mark Salsbery11-Jun-07 7:28 
QuestionHelp!! "Device Context" Pin
himuskanhere11-Jun-07 1:49
himuskanhere11-Jun-07 1:49 
AnswerRe: Help!! "Device Context" Pin
sakssp11-Jun-07 1:53
sakssp11-Jun-07 1:53 
GeneralRe: Help!! "Device Context" Pin
himuskanhere11-Jun-07 1:58
himuskanhere11-Jun-07 1:58 
GeneralRe: Help!! "Device Context" Pin
sakssp11-Jun-07 2:08
sakssp11-Jun-07 2:08 
GeneralRe: Help!! "Device Context" Pin
CPallini11-Jun-07 2:10
mveCPallini11-Jun-07 2:10 
AnswerRe: Help!! "Device Context" Pin
Rajkumar R11-Jun-07 2:12
Rajkumar R11-Jun-07 2:12 
AnswerRe: Help!! "Device Context" Pin
Mark Salsbery11-Jun-07 7:38
Mark Salsbery11-Jun-07 7:38 
QuestionMFC MDI Views outside MainFrame Pin
Doc Lobster11-Jun-07 1:29
Doc Lobster11-Jun-07 1:29 
AnswerRe: MFC MDI Views outside MainFrame Pin
#realJSOP11-Jun-07 2:33
professional#realJSOP11-Jun-07 2:33 
GeneralRe: MFC MDI Views outside MainFrame Pin
Doc Lobster11-Jun-07 21:03
Doc Lobster11-Jun-07 21:03 
Question3d effect Pin
tamila_tamila11-Jun-07 1:20
tamila_tamila11-Jun-07 1:20 
Questionwhere the Doc , view class objects getting created Pin
Krishnatv11-Jun-07 1:03
Krishnatv11-Jun-07 1:03 
AnswerRe: where the Doc , view class objects getting created Pin
Paresh Chitte11-Jun-07 1:44
Paresh Chitte11-Jun-07 1:44 
AnswerRe: where the Doc , view class objects getting created Pin
David Crow11-Jun-07 2:13
David Crow11-Jun-07 2:13 
GeneralRe: where the Doc , view class objects getting created Pin
Krishnatv11-Jun-07 3:49
Krishnatv11-Jun-07 3:49 
QuestionRe: where the Doc , view class objects getting created Pin
David Crow11-Jun-07 3:56
David Crow11-Jun-07 3:56 

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.