Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: get the .exe current path Pin
enhzflep30-Dec-08 23:27
enhzflep30-Dec-08 23:27 
AnswerRe: get the .exe current path Pin
Krishnakumartg31-Dec-08 3:23
Krishnakumartg31-Dec-08 3:23 
QuestionDoubt in CTreeCtrl Pin
KASR130-Dec-08 23:12
KASR130-Dec-08 23:12 
AnswerRe: Doubt in CTreeCtrl Pin
enhzflep30-Dec-08 23:24
enhzflep30-Dec-08 23:24 
Questionset System Resolution.......... Pin
shaina223130-Dec-08 20:57
shaina223130-Dec-08 20:57 
AnswerRe: set System Resolution.......... Pin
Malli_S30-Dec-08 21:11
Malli_S30-Dec-08 21:11 
AnswerRe: set System Resolution.......... Pin
Radhakrishnan G.1-Jan-09 2:21
Radhakrishnan G.1-Jan-09 2:21 
QuestionUse of SetProcessAffinityMask Pin
AmitCohen22230-Dec-08 20:09
AmitCohen22230-Dec-08 20:09 
Hi All !

I'm running an application that spwans several processes and threads, it runs on Windows 2003 Server OS and using 8 cpu's machine(Xeon).
We are considering the use of SetProcessAffinityMask to allocate heavy processing jobs to a spcific cpu. My question therfore is this:

Using SetProcessAffinityMask, is it possible to tell the OS that I want my process to be the only one using that cpu (i.e. no other process, mine or the OS's, is allowed to run on it) ? is it possible ? Unsure | :~

We wish to get deteministic results when system is working for long periods of time.

thanks,
Amit Smile | :)
AnswerRe: Use of SetProcessAffinityMask Pin
Mark Salsbery31-Dec-08 6:31
Mark Salsbery31-Dec-08 6:31 
QuestionCommand Line argument for MFC Application Pin
Anubhava Dimri30-Dec-08 19:31
Anubhava Dimri30-Dec-08 19:31 
AnswerRe: Command Line argument for MFC Application Pin
Garth J Lancaster30-Dec-08 20:04
professionalGarth J Lancaster30-Dec-08 20:04 
AnswerRe: Command Line argument for MFC Application Pin
Paresh Chitte30-Dec-08 22:38
Paresh Chitte30-Dec-08 22:38 
GeneralRe: Command Line argument for MFC Application Pin
Anubhava Dimri30-Dec-08 22:58
Anubhava Dimri30-Dec-08 22:58 
GeneralRe: Command Line argument for MFC Application Pin
Paresh Chitte30-Dec-08 23:27
Paresh Chitte30-Dec-08 23:27 
GeneralRe: Command Line argument for MFC Application Pin
Anubhava Dimri30-Dec-08 23:47
Anubhava Dimri30-Dec-08 23:47 
AnswerRe: Command Line argument for MFC Application Pin
Mark Salsbery31-Dec-08 6:34
Mark Salsbery31-Dec-08 6:34 
Questionhow do i create,read and write xml file using VC++6.0? Pin
puppya30-Dec-08 19:09
puppya30-Dec-08 19:09 
AnswerRe: how do i create,read and write xml file using VC++6.0? Pin
Garth J Lancaster30-Dec-08 20:11
professionalGarth J Lancaster30-Dec-08 20:11 
AnswerRe: how do i create,read and write xml file using VC++6.0? Pin
Jijo.Raj30-Dec-08 22:22
Jijo.Raj30-Dec-08 22:22 
AnswerRe: how do i create,read and write xml file using VC++6.0? Pin
bob1697231-Dec-08 4:17
bob1697231-Dec-08 4:17 
QuestionHow can Dark Rectangle sides? Pin
Le@rner30-Dec-08 18:37
Le@rner30-Dec-08 18:37 
AnswerRe: How can Dark Rectangle sides? Pin
Naveen30-Dec-08 20:58
Naveen30-Dec-08 20:58 
GeneralRe: How can Dark Rectangle sides? Pin
Le@rner30-Dec-08 21:18
Le@rner30-Dec-08 21:18 
QuestionHow to Create a child window in SDI(MFC) application? Pin
Abhijit D. Babar30-Dec-08 17:50
Abhijit D. Babar30-Dec-08 17:50 
QuestionNumber of Processors/Cores Pin
BobInNJ30-Dec-08 15:14
BobInNJ30-Dec-08 15:14 

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.