IProcess.CommandLine exception

delphi package - easy access to kernel objects etc.

IProcess.CommandLine exception

Postby katoa » Tue Mar 31, 2009 10:36 pm

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.
katoa
 
Posts: 1
Joined: Tue Mar 31, 2009 10:26 pm

Postby Unlimited » Sat Apr 18, 2009 6:08 pm

I have similar problem. Error when i want to get CommandLine from C:\Windows\System32\services.exe.

MyProcess := MyProcesses.Items[i];
Exe := MyProcess.ExeFile;
CmdLine := MyProcess.CommandLine;

I have a priviladge. And I try it on WinXP SP2 using latest madCollection 2.5.9.0.
Unlimited
 
Posts: 28
Joined: Wed Feb 14, 2007 4:18 am

Postby Unlimited » Sat Apr 18, 2009 7:06 pm

I downgraded madCollection to 2.5.8.0 and problem SOLVED. Don't know why . Madshi? :sorry:
Unlimited
 
Posts: 28
Joined: Wed Feb 14, 2007 4:18 am

Postby madshi » Thu Apr 23, 2009 12:00 pm

It's weird that downgrading to an older version helps. Will have to look into this.
madshi
Site Admin
 
Posts: 9265
Joined: Sun Mar 21, 2004 5:25 pm

Postby madshi » Tue Jul 21, 2009 9:27 am

This will be fixed in the next build (due out in the next few days). Sorry for the late fix.
madshi
Site Admin
 
Posts: 9265
Joined: Sun Mar 21, 2004 5:25 pm


Return to madKernel

Who is online

Users browsing this forum: Google [Bot] and 1 guest