www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/02/06:38:05

From: "Michael Beck" <beck AT dresearch DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: what's wrong with this code?
Date: Sun, 2 Aug 1998 04:40:28 +0200
Organization: Ye 'Ol Disorganized NNTPCache groupie
Message-ID: <01bdbdbe$b3b8cab0$5f00a8c0@sigma>
References: <35C3746C DOT 5BEA866A AT xyz DOT net>
NNTP-Posting-Host: 195.99.74.37
Cache-Post-Path: news-fa!unknown AT 194 DOT 75 DOT 26 DOT 11
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bjorn Hansen <viking AT xyz DOT net> schrieb im Beitrag
<35C3746C DOT 5BEA866A AT xyz DOT net>...
> I know that this must be something simple that I am missing but when I
> try to compile this:
[...]
>  v=_farpeekb(_dos_ds,0xA0000);
[...]
> I get a Error of '_dos_ds' undeclared
> what am I doing wrong or not doing?

_dos_ds is a macro defined in go32.h, add an #include <go32.h>.

--
Michael Beck			beck AT dresearch DOT de

- Raw text -


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