File:  [OS/2 SDKs] / os2sdk / demos / examples / dynlink / dynlink1.c
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:26:22 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1988, HEAD
Microsoft OS/2 SDK 03-01-1988


/*
 * dynlink1.c
 *
 *	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.
 *
 */

#define INCL_DOSPROCESS

#include <os2def.h>
#include <bsedos.h>	    /* calling conventions			    */
#include "dynlib.h"	    /* calling conventions			    */

void
main()
{
    while(1)
    {
	PRINTDATA();	    /* display shared and non-shared data	    */
	DosSleep(100L);     /* yield the processor			    */
    }
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.