DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   Counting program executions (http://www.daniweb.com/forums/thread156122.html)

frank* Nov 8th, 2008 4:52 pm
Counting program executions
 
Do anyone have any idea to write a c progrm which counts no of times it is run
without using a updating file??:?:

BestJewSinceJC Nov 8th, 2008 5:09 pm
Re: Counting program executions
 
to do so you have to store it in memory. How do you plan to do this without use of a file?

frank* Nov 8th, 2008 5:28 pm
Re: Counting program executions
 
Quote:

Originally Posted by BestJewSinceJC (Post 731551)
to do so you have to store it in memory. How do you plan to do this without use of a file?

can the program be made to edit its own exe
file?

WaltP Nov 8th, 2008 8:38 pm
Re: Counting program executions
 
No

ajay.krish123 Nov 9th, 2008 11:27 am
Re: Counting program executions
 
No, it is not possible to make such program

ArkM Nov 9th, 2008 3:41 pm
Re: Counting program executions
 
Of course, it's possible, all viruses do that ;) .
So you will have a lots of troubles with anti-virus protection on computers of your masterpiece unhappy users...


All times are GMT -4. The time now is 12:13 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC