Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Help On Shuting Proces In C++
kvarnerexpress
post Mar 15 2006, 09:54 PM
Post #1


Super Member
*********

Group: Members
Posts: 407
Joined: 13-December 04
Member No.: 2,696



Hi guy's well i have a game server and some time on startup when i restart the server some process run when i dont want them i have tried to look in mscongfig and there not there so i want to make a app that will kill a couple prcess should be easy but can some one point me in the direction im verry new to c++ i know vb lo0l i already had made app like this in vb that made a batch file.Then executed.

Was a little bit like this in vb.

Code:

CODE
Private Sub Form_Load()
Me.Hide
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\testfile.bat", True)
a.WriteLine ("TASKKILL /F /IM my.exe  ")
a.Close
End Sub


Then basicaly shell exe.But haw would i go about this in c++ as i want to learn c++,I would also like it to be added to the reg for startup.thnx

This post has been edited by kvarnerexpress: Mar 15 2006, 09:56 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 6th October 2008 - 02:37 PM