|
|
1.1 root 1:
2: /*
3: * dynlink1.c
4: *
1.1.1.2 ! root 5: * Created by Microsoft Corp. 1987
1.1 root 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:
1.1.1.2 ! root 12: #define INCL_DOSPROCESS
! 13:
! 14: #include <os2def.h>
! 15: #include <bsedos.h> /* calling conventions */
1.1 root 16: #include "dynlib.h" /* calling conventions */
17:
18: void
19: main()
20: {
21: while(1)
22: {
23: PRINTDATA(); /* display shared and non-shared data */
1.1.1.2 ! root 24: DosSleep(100L); /* yield the processor */
1.1 root 25: }
26: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.