Discussion in "Software" started by    rahuljin    Jun 5, 2009.
Fri Jun 05 2009, 11:20 am
#1
hello,

i have the basic knowledge of c++ (like if, else, loops, classes, file handling, etc.). but i dont have the knowledge of .net platform.

please tell me any default function of visual c++ 2008 that can tell that a specific process is runing in the system or not ?
is there any other way using visual c++ ? please help.
i have visual studio 2008 with windows 7 rc.

i dont have a very sound knowledge of c++ so please provide a simple program link so that i can understand it correctly.


thanks


rahul
Fri Jun 05 2009, 03:37 pm
#2
did you try google?
Fri Jun 05 2009, 05:37 pm
#3
i tried but dont find good results. most of them were .net related.


[ Edited Fri Jun 05 2009, 05:42 pm ]
Fri Jun 05 2009, 09:44 pm
#4
Which other process are you trying to detect
and what will you do if you find it ?.


[ Edited Fri Jun 05 2009, 09:45 pm ]
Fri Jun 05 2009, 10:09 pm
#5
actually there is a project to design an application which runs on client to check the status of server.
i am in the initial stages of this project. i want to build a program in visual c++ which can detect the status of IIS services on the same computer.


[ Edited Fri Jun 05 2009, 10:11 pm ]
Fri Jun 05 2009, 10:14 pm
#6
A lot depends on the detail of *exactly* what you are doing.

On the face of it you just need to try to connect to the server as a normal
TCP/IP client.

If the server is running you will succeed, if not you won't
Fri Jun 05 2009, 10:34 pm
#7
the first stage does not require any tcp/ip client because there is only one pc ---- no sever , no client. after the first stage i will required to learn the socket programming for visual c++ which will help in tcp/ip communication between the server and the client.

my knowledge of c++ is limited. i only knows the basic of it (with is tought in schools and college level).
i have searched a lot on net and found that psapi.dll can be used for this purpose but it is very high level of programming so i am searching for a good tutorial regarding this.


[ Edited Fri Jun 05 2009, 10:36 pm ]
Fri Jun 05 2009, 10:53 pm
#8


i want to build a program in visual c++ which can detect the status of IIS services on the same computer.

rahuljin



The IIS program (or set of programs) is a web server.
Even on a single machine you can run a server and client(s).
Once IIS is running you can contact it with a normal browser.
Fri Jun 05 2009, 11:13 pm
#9
yes, if i get successed in getting the status of a running process, i will also find IIS services are running or not.


[ Edited Fri Jun 05 2009, 11:20 pm ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm