Search found 5 matches

by SteveO
Thu May 24, 2012 11:16 am
Forum: madKernel
Topic: madKernel and SEP11
Replies: 1
Views: 10492

madKernel and SEP11

Hi MadShi, Since maybe last month any exe I compile including madKernel and madSecurity seems to be quarantined by Symantec Endpoint Protection (v11) as "Suspicious.Graybird.1" I've tried the latest version of madCollection and also v2.5.8.0 (which I used up until last month) but both trig...
by SteveO
Fri Jul 01, 2005 4:07 pm
Forum: madKernel
Topic: Confused about Process.IsValid, IsStillValid, IsRunning
Replies: 1
Views: 5815

Confused about Process.IsValid, IsStillValid, IsRunning

madshi,

What is the difference between IsValid, IsStillValid and IsRunning. If I launch notepad.exe the line Process('notepad.exe').IsStillValid, IsValid and IsStillRunning all return TRUE. Is there a situation where one is better to use than another?

Thanks,
SteveO
by SteveO
Thu Jun 30, 2005 11:53 am
Forum: madBasic
Topic: FileVersion compare with stringvalue
Replies: 1
Views: 7725

FileVersion compare with stringvalue

Hi madshi, I'm using GetFileVersion from madTools to give me the version of a file. What I want to do is to compare the value of this to a value stored as a string in a database. You have a function FileVersionToStr which gives me a string in the form 1.0.0.0 What I'm wondering is how do I go the ot...
by SteveO
Sun Jun 26, 2005 1:16 pm
Forum: madKernel
Topic: Terminate a process running in other users security context
Replies: 2
Views: 6441

madshi, Many thanks. Once I enable all privileges with your code it now works fine. The peculiar thing is I tested on my home PC (XP SP2) and the original code worked fine. However my laptop is part of a corporate domain and has XP SP2 + lotsa hotfixes and it wouldn't work on that. However all is we...
by SteveO
Fri Jun 24, 2005 9:07 am
Forum: madKernel
Topic: Terminate a process running in other users security context
Replies: 2
Views: 6441

Terminate a process running in other users security context

Hi, I'm trying ot kill a desktop process from my application which a user will launch and my process will run in a different security context as as the local administrator. For example if I launch notepad.exe using Run As I cannot terminate it with the following: Process('notepad.exe').Terminate; Ho...