delorie.com/archives/browse.cgi | search |
From: | "Ken Jenkins" <ken DOT jen AT adelphia DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <ca5da.2776$z_3 DOT 1355677 AT news1 DOT news DOT adelphia DOT net> <3e755602 DOT sandmann AT clio DOT rice DOT edu> |
Subject: | Re: Real Mode function doesn't work |
Lines: | 21 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Message-ID: | <1edda.3316$z_3.1503423@news1.news.adelphia.net> |
Date: | Mon, 17 Mar 2003 05:41:17 GMT |
NNTP-Posting-Host: | 68.64.172.34 |
X-Complaints-To: | abuse AT adelphia DOT net |
X-Trace: | news1.news.adelphia.net 1047879677 68.64.172.34 (Mon, 17 Mar 2003 00:41:17 EST) |
NNTP-Posting-Date: | Mon, 17 Mar 2003 00:41:17 EST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
You are absolutely right, but I didn't know where the prototype for dosmemput was. But thank you for all your help, my function finally works! Yay! "Charles Sandmann" <sandmann AT clio DOT rice DOT edu> wrote in message news:3e755602 DOT sandmann AT clio DOT rice DOT edu... > > > > 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |