473,549 Members | 2,360 Online
Bytes | Software Development & Data Engineering Community
+ 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 2637
Try this:

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

AliR.

"Alok Gupta" <al*******@gmai l.comwrote in message
news:11******** **************@ v45g2000cwv.goo glegroups.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.program mer.win32 or comp.unix.progr ammer etc.

Jan 17 '07 #4
"Alok Gupta" <al*******@gmai l.comwrote in message
news:11******** **************@ v45g2000cwv.goo glegroups.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*****@invali d.netwrote in message
news:12******** *****@corp.supe rnews.com...
>
"CBFalconer " <cb********@yah oo.comwrote in message
news:45******** *******@yahoo.c om...
>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
1316
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 modify PHP config ( max_exec_time,.....). Is it possible to stop the process if its execution exceeds 10 seconds ? Is it possible to stop the...
4
6564
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. There is no consistency when it fails. Could anyone here shed some light on how to debug/resolve the issue. I guess IBM looked at the issue and were...
10
14403
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 user to gain the required rights for execution (the external process needs to create a mailbox in Exchange, so it needs to be run as an Exchange Full...
4
1743
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 specific process is done,, but the form which will host the user control has to specify what has to be done Something like this , if the event is...
0
1539
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
2082
by: nate | last post by:
the error returned is this: Server Error in '/AnnAccRpt' Application. -------------------------------------------------------------------------------- Could not find control 'DropDownList1' in ControlParameter 'DropDownList1'. Description: An unhandled exception occurred during the execution of the current web request. Please review the...
8
4034
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 the data they produced. This apllicationis a kind of "client" that must work in more that one SO (for example *NIX, Windows98, Win2000). So my...
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 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...
2
2393
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 (dll's) I want these objects run in the background. I have used reflection to find the assembly and the object type. I want these objects to run...
3
1443
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 need an execution timer and timeout control (to kill the apps in certain situations). Looking at google, I found the Pexpect package, but I m a little...
0
7542
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7467
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7500
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7827
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5385
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5110
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1079
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.