473,497 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to control a process execution?

Hi There,

I want to develop a small software which can control process execution
as AntiVirus does. That is as soon as any process start execution/
started /executed , my software will put this process in hanging and
display the process information on screen with option to kill it or
allow the execution.

I shall be thankful to you if you can help me in this.

Thanks & Best Regards,
Akg

Jan 17 '07 #1
6 2628
Try this:

http://www.codeguru.com/cpp/w-p/syst...cle.php/c5715/

AliR.

"Alok Gupta" <al*******@gmail.comwrote in message
news:11**********************@v45g2000cwv.googlegr oups.com...
Hi There,

I want to develop a small software which can control process execution
as AntiVirus does. That is as soon as any process start execution/
started /executed , my software will put this process in hanging and
display the process information on screen with option to kill it or
allow the execution.

I shall be thankful to you if you can help me in this.

Thanks & Best Regards,
Akg

Jan 17 '07 #2
Alok Gupta wrote:
Hi There,

I want to develop a small software which can control process execution
as AntiVirus does. That is as soon as any process start execution/
started /executed , my software will put this process in hanging and
display the process information on screen with option to kill it or
allow the execution.
Your question is by nature application specific, and as such does not
belong in comp.lang.c++. Note that comp.lang.c++ is removed from
replied-to groups.
Jan 17 '07 #3
Alok Gupta wrote:
Hi There,

I want to develop a small software which can control process execution
as AntiVirus does. That is as soon as any process start execution/
started /executed , my software will put this process in hanging and
display the process information on screen with option to kill it or
allow the execution.

I shall be thankful to you if you can help me in this.
This group discusses ISO C which has no concept of multiple processes,
let alone controlling them. What you're trying to do is deeply OS
specific. Post to a group that is devoted to your platform like
comp.os.ms-windows.programmer.win32 or comp.unix.programmer etc.

Jan 17 '07 #4
"Alok Gupta" <al*******@gmail.comwrote in message
news:11**********************@v45g2000cwv.googlegr oups.com...
Hi There,

I want to develop a small software which can control process execution
as AntiVirus does. That is as soon as any process start execution/
started /executed , my software will put this process in hanging and
display the process information on screen with option to kill it or
allow the execution.

I shall be thankful to you if you can help me in this.
a)First, wrong newsgroup. There is a newsgroup somewhere out there for
Windows programming -- I think it has Win32 in the name.

b)Second, the classic beginning reference on Windows programming (if you
don't have it already) is the book by Charles Petzold. That may get you
started. I don't know what is the standard recommending reading after that.

c)Third, it is my understanding that the entire Windows API is on
Microsoft's site. I understand the API has grown quite large over time --
something like 3,300 different calls into the operating system are possible.
But Microsoft's site may be of some help.

Advice above offered without warranty.

Most important point: wrong newsgroup!

--
David T. Ashley (dt*@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
http://www.dtashley.com (Personal Home Page)
http://gpl.e3ft.com (GPL Publications and Projects)
Jan 17 '07 #5
Alok Gupta wrote:
>
I want to develop a small software which can control process
execution as AntiVirus does. That is as soon as any process
start execution/ started /executed , my software will put this
process in hanging and display the process information on
screen with option to kill it or allow the execution.
You are off-topic in comp.lang.*. You are also incoherent.
Follow-ups set.

Please observe topicality in cross-posts, and set follow-ups to a
single news-group.

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>

Jan 18 '07 #6
"Lane Straatman" <in*****@invalid.netwrote in message
news:12*************@corp.supernews.com...
>
"CBFalconer" <cb********@yahoo.comwrote in message
news:45***************@yahoo.com...
>Alok Gupta wrote:
[whatever]
>You are off-topic in comp.lang.*. You are also incoherent.
Follow-ups set.

Please observe topicality in cross-posts, and set follow-ups to a
single news-group.


If OP is MS MVP, then I'm the queen of england. LS
Lane your majesty, you are a comic genius.

So the poor guy made a mistake, how is all this cross posting helping him
understand that he shouldn't cross post. I made a mistake of hitting reply
without looking at the newsgroup list.

AliR.
Jan 18 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1308
by: Lionel Gondy | last post by:
I'am using php 4.3.4 under linux. My php script connects to a NNTP server and I want to control execution time and memory use of this script. PHP is compiled without pcntl support and I can not...
4
6556
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times....
10
14395
by: Sorin Dolha [MCSD .NET] | last post by:
I would like to start a process from C# code as another user. The C# code is executed as the ASPNET user because it relies in a Web Page class, and I would like that the process will run as another...
4
1732
by: thomson | last post by:
Hi all, i do have a user control with 4 buttons, and all the events are firing properly, My problem is that i need to right an event handler in the user control, which gets fired after a...
0
1533
by: Pavan | last post by:
My name is Pavan and I am a software engineer working on ASP .Net web development. Currently I am using .Net 2.0 Professional Edition to develop my web pages. I have a problem
0
2079
by: nate | last post by:
the error returned is this: Server Error in '/AnnAccRpt' Application. -------------------------------------------------------------------------------- Could not find control 'DropDownList1' in...
8
4025
by: =?ISO-8859-15?B?TnXxbw==?= I.G | last post by:
Hello to everybody: I'm trying to get some information about "process management". Let's explain a little... I want to write some code that allows me to execute some "aplications" and collect...
5
551
by: Alok Gupta | last post by:
Hi There, I want to develop a small software which can control process execution as AntiVirus does. That is as soon as any process start execution/ started /executed , my software will put this...
2
2388
by: Erick | last post by:
I've create a windows service which will start any windows application whose name it finds in an xml file i have pointed it to. However, I also want it to create .net objects from assemblies...
3
1439
by: Wesley Mesquita | last post by:
Hi all, I am trying to create a test environment to a couple C applications (simple UDP and TCP server/clients), so I want to write this in python and I m looking for ways to do it. Basically I...
0
7120
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6991
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6878
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7373
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4583
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3088
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1405
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.