From: "Andrew Crabtree" Newsgroups: comp.os.msdos.djgpp Subject: Re: assigning the correct adress? Date: Tue, 17 Feb 1998 14:16:26 -0800 Organization: Hewlett Packard Lines: 10 Message-ID: <6cd27j$lps$1@rosenews.rose.hp.com> References: <34e9a8df DOT 2317141 AT news DOT rug DOT nl> NNTP-Posting-Host: ros51675cra.rose.hp.com Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Donnie Roos wrote in message <34e9a8df DOT 2317141 AT news DOT rug DOT nl>... >ptr_TMP_l = & (byte) reg_TMP; >ptr_TMP_h = & (byte) reg_TMP + 1; how about ptr_TMP_h = (byte *) ®_TMP +1; Instead. Get the address first and then cast the pointer type. he file djgpp.env is in c:\djgpp\bin Why? It should be in c:\djgpp > set DJGPP=c:/djgpp/bin/djgpp.env > set DJDIR=c:/djgpp/bin See above. Always unzip and preserve directory info. You should not make bin the root directory for djgpp. Andy