delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/17/00:48:26

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Real Mode function doesn't work
Date: Sun, 16 Mar 2003 22:58:42 CST
Organization: Rice University, Houston TX
Lines: 12
Message-ID: <3e755602.sandmann@clio.rice.edu>
References: <ca5da.2776$z_3 DOT 1355677 AT news1 DOT news DOT adelphia DOT net>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1047877414 10886 128.42.105.3 (17 Mar 2003 05:03:34 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: 17 Mar 2003 05:03:34 GMT
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> > >     dosmemput (disp_str, __tb, length);
> > check the argument order here
> That is the only order of the arguments that will compile.

The prototype is 
void dosmemput(const void *_buffer, size_t _length, unsigned long _offset);
(you can see this in include/sys/movedata.h).

If it doesn't compile then there is something wrong with your code.
Randomly changing argument order is no way to try to debug code.

If you pass the wrong arguments it will never work.

- Raw text -


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