delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/11/16:31:16

From: "nonya" <duck AT tdux DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: graph.h
Date: Mon, 11 Aug 2003 15:13:28 -0400
Organization: VeriSign Global Registry Services
Lines: 61
Message-ID: <bh8pnd$stg$1@news.nsiregistry.net>
References: <bh8cpc$pu8$1 AT news DOT nsiregistry DOT net>
NNTP-Posting-Host: nat.networksolutions.com
X-Trace: news.nsiregistry.net 1060629037 29616 216.168.237.71 (11 Aug 2003 19:10:37 GMT)
X-Complaints-To: news AT nsiregistry DOT net
NNTP-Posting-Date: 11 Aug 2003 19:10:37 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

The source is supposed to be for ms Visual c++.

I have included the following source. Thank you


/* SAMPLE.C */

#include <dos.h>
#include <fcntl.h>
#include <graph.h>
#include <io.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <sys\types.h>
#include <sys\timeb.h>
#include <sys\stat.h>

#pragma pack(1)

#include <3000\bios.h>
#include <3000\dos.h>
#include <3000\urm.h>

#define CON_KEY_ONLY          0
#define CON_KEY_OR_SCAN       1
#define CON_SCAN_ONLY         2
#define ERROR                 -1
#define ERROR_DETECTED        1
#define ERROR_NO              0
#define KEY_CLEAR             0x001B
#define KEY_BACKSPACE         0x0008
#define NO                    0
#define VIDEO_NORMAL          0x07
#define VIDEO_INVERSE         0x70
#define YES                   1

struct detail_rec {
  char number[64];
  short quantity;
  };

/* GLOBAL VARIABLES */
int con_handle;
char store_number[6];



"nonya" <duck AT tdux DOT com> wrote in message
news:bh8cpc$pu8$1 AT news DOT nsiregistry DOT net...
> C id10t here needing some help please.  I have reciently acquired a symbol
> pdt 3100 scanner.  I need to modify one of the sample scripts to suit my
> needs but am clueless but learning.  The sample c code calls on graph.h
but
> it is not located on my hard drive.  Where can I get this?  thank you in
> advance Duck
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019