Newsgroups: comp.os.msdos.djgpp From: "Peter Gsellmann" Message-ID: References: <89jh25$rdq$1 AT nnrp1 DOT deja DOT com> X-Newsreader: PMINews 2.00.1205 For OS/2 Organization: OS/2 v4 Merlin MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: Writing to DOS Environment Space from C Application Lines: 12 Date: Thu, 02 Mar 2000 22:25:03 +0100 (MEZ) NNTP-Posting-Host: 193.81.170.175 X-Complaints-To: abuse AT kpnqwest DOT at X-Trace: nreader1.kpnqwest.net 952033360 193.81.170.175 (Thu, 02 Mar 2000 22:42:40 MET) NNTP-Posting-Date: Thu, 02 Mar 2000 22:42:40 MET To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 01 Mar 2000 16:38:30 GMT, boulterj AT my-deja DOT com wrote: >I am using MS Visual C++ Ver 1.52, but am having trouble compiling the >following line: > > movedata(env_addr, 0, _DS, (unsigned)&env_blk[0], seglen); > The pseudo-variables _AX, _BX, .... exist only for the Borland-Compiler. These are direct references to the CPU-Registers, no functions or macros. Take a look at Borland's museum, they give away old 16bit-compilers.