Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gobiro

  1. gobiro

    Counting the number of times the program has been executed

    In MS-DOS Envinronment THIS works ! #include <dos.h> #include <stdio.h> #include <string.h> int Times=1; char ExeName[50]; void main(int argc, char *argv[]) { static unsigned long ExePos; unsigned TSeg, TOff, Header; FILE *f; printf(&quot;\nProg: %s&quot;, argv[0])...
  2. gobiro

    Counting the number of times the program has been executed

    Hi, Is this possible to write a code that modifies a variable within the EXE file ? I need the procedure for counting the number of times a program has been executed. Without registry, extra files or anything a user could find. You now what I'm talking about. In the old MS-DOS apps that could...

Part and Inventory Search

Back
Top