Compatible Support Forums: Auto-set Affinity (single processor) for a particular .exe

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Auto-set Affinity (single processor) for a particular .exe

#1 User is offline   shorton 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 03-January 04

Posted 03 January 2004 - 08:00 PM

I am using a particular older program that dosen't play well with my Intel P4 3.0 Hyperthreading machine running XP Pro (Spruce DVDMaestro). While this is really a hardware issue I believe, the question is really how to work around it using XP thus my selection of this forum.

I have found that once started I can go to task manager, right click on the .exe/process and set it's affinity so only one (virtual) CPU is used. Then all is well.

Is there a way I can set this up so this program always uses only one CPU on startup? That is, so I don't have to manuall set it?
I tried the Imageconfig tool at :

http://www.robpol86.com/tutorials/imagecfg.php

but unfortunately, after installing it per their instructions, and trying to execute the first step to set to one processor I get:

C:\Program Files\DVDMaestro>imagecfg -u DVDMaestro.exe
IMAGECFG: unable to map and load DVDMaestro.exe GetLastError= 11

So I went on and tried to set the processor anyway:

C:\Program Files\DVDMaestro>imagecfg -a 0x1 DVDMaestro.exe
IMAGECFG: unable to map and load DVDMaestro.exe GetLastError= 11


ANyone here know how to auto-set a program to use only one CPU?

Thanks,
Scott
0

#2 User is offline   shorton 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 03-January 04

Posted 06 January 2004 - 06:52 PM

Hi Alec:

Thanks for the input. I'm inclined to agree with you, I believe it's the exe itself that's not allowing the update.

Unfortunately, this program is no longer supported, company was bought by apple. WYSIWYG, no updates done.

Since you are clearly familiar with programming at a deeper level (I am not), I wondered if it was possible to write a simple exe (that had a settable affinity) that "launched" the problem exe and have the affinity "stick"?

Cheers,
Scott
0

#3 User is offline   Reuel 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 19-January 07

Posted 19 January 2007 - 04:51 PM

This might be a rather late reply, but http://www.beyondlogic.org/consulting/processutil/processutil.htm
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users