Page 1 of 1

IProcess.CommandLine exception

Posted: Tue Mar 31, 2009 10:36 pm
by katoa
When trying to get the commandline of a process I did not start, such as:

Process('notepad.exe').CommandLine

I get the following exception:

Exception: Not all replace pointers found!
0049e473 +1d3 Install.exe madKernel TIProcess.CopyCode
0049ebda +522 Install.exe madKernel TIProcess.InjectCommand
0049c5e0 +0e0 Install.exe madKernel TIProcess.GetCommandLine

P.S. Reproduced on multiple computers running XP SP3.

Posted: Sat Apr 18, 2009 6:08 pm
by Unlimited
I have similar problem. Error when i want to get CommandLine from C:\Windows\System32\services.exe.

MyProcess := MyProcesses.Items;
Exe := MyProcess.ExeFile;
CmdLine := MyProcess.CommandLine;

I have a priviladge. And I try it on WinXP SP2 using latest madCollection 2.5.9.0.

Posted: Sat Apr 18, 2009 7:06 pm
by Unlimited
I downgraded madCollection to 2.5.8.0 and problem SOLVED. Don't know why . Madshi? :sorry:

Posted: Thu Apr 23, 2009 12:00 pm
by madshi
It's weird that downgrading to an older version helps. Will have to look into this.

Posted: Tue Jul 21, 2009 9:27 am
by madshi
This will be fixed in the next build (due out in the next few days). Sorry for the late fix.