The Daily Click ::. Forums ::. Klik Coding Help ::. Kill process with Process Viewer?
 

Post Reply  Post Oekaki 
 

Posted By Message

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
13th December, 2009 at 16:19:46 -

How can I kill some process with Process Viewer extension? It asks the ID of the process to be terminated but I don't know that IS :S I only know the name of the process.

Edited by Jarzka

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
13th December, 2009 at 16:23:20 -

Smells like a mischievous program. With a hint of coconut.

 
http://www.facebook.com/truediamondgame

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
13th December, 2009 at 16:39:43 -

It's not. I just would like to close the LacewingServer.exe before I close the game.

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49566

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
13th December, 2009 at 19:03:04 -

Enumerate processes. Then in the enumeration loop check for the exe name to be LacewingServer.exe and Kill the process with the current ID.

If you need more help I can make you an example.

 
n/a

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
13th December, 2009 at 19:12:35 -

Tutorial would be cool

 
n/a

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
14th December, 2009 at 18:14:35 -

Well I don't need tutorial anymore because my friend coded me a simple program that kills LacewingServer.exe

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49566

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
14th December, 2009 at 18:25:24 -

Oh whoops! I forgot about this thread! Sorry about that. Glad you solved it!

 
n/a

Jon Lambert

Administrator
Vaporware Master

Registered
  19/12/2004
Points
  8235

VIP MemberWii OwnerTDC Chat Super UserI am an April FoolSSBB 3265-4741-0937ACCF 3051-1173-8012360 Owner
14th December, 2009 at 21:40:31 -

You didn't have to open the Lacewing server app separately. You could have done this:
Whatever condition(s) start the server

+ Start (with Lacewing.server file)
End of application
+ Stop

There's a Lacewing.server file in the Lacewing folder that you downloaded to get Lacewing in the first place. You would have made sure that the file is kept in the same folder as the game and loaded the file Apppath$+Lacewing.server or even better, use the Binary object, embed the file into the game's binary, and extract it and load it during play. That way it couldn't even get lost accidentally.

Of course, that's just me being lazy and late to the party.

Edited by an Administrator

 
Sandwich Time!Whoo!

JoyCheck & KeyCheck Widgets
For easy implementation of customizable joystick and keyboard controls.
http://www.create-games.com/download.asp?id=8364
   

Post Reply



 



Advertisement

Worth A Click