|
|
1.1 ! root 1: ! 2: /* ! 3: * dynlink1.c ! 4: * ! 5: * Created 17 August 1987 by Kevin Ruddell, Microsoft Corp ! 6: * ! 7: * Uses a dynalink library after linking to it at load time. Shared and ! 8: * non-shared values are periodically written to the screen. ! 9: * ! 10: */ ! 11: ! 12: #include <doscalls.h> /* calling conventions */ ! 13: #include "dynlib.h" /* calling conventions */ ! 14: ! 15: void ! 16: main() ! 17: { ! 18: while(1) ! 19: { ! 20: PRINTDATA(); /* display shared and non-shared data */ ! 21: DOSSLEEP(100L); /* yield the processor */ ! 22: } ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.