--- os2sdk/demos/examples/dynlink/dynlink1.c 2018/08/09 12:25:13 1.1.1.1 +++ os2sdk/demos/examples/dynlink/dynlink1.c 2018/08/09 12:26:22 1.1.1.2 @@ -2,14 +2,17 @@ /* * dynlink1.c * - * Created 17 August 1987 by Kevin Ruddell, Microsoft Corp + * Created by Microsoft Corp. 1987 * * Uses a dynalink library after linking to it at load time. Shared and * non-shared values are periodically written to the screen. * */ -#include /* calling conventions */ +#define INCL_DOSPROCESS + +#include +#include /* calling conventions */ #include "dynlib.h" /* calling conventions */ void @@ -18,6 +21,6 @@ main() while(1) { PRINTDATA(); /* display shared and non-shared data */ - DOSSLEEP(100L); /* yield the processor */ + DosSleep(100L); /* yield the processor */ } }