Message-ID: <34981B33.1728@ra.msstate.edu> From: Greg Moorer Reply-To: gam3 AT ra DOT msstate DOT edu MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: movedata.h problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 Date: Wed, 17 Dec 1997 18:35:22 GMT NNTP-Posting-Host: slip129-37-252-73.ms.us.ibm.net NNTP-Posting-Date: Wed, 17 Dec 1997 13:35:22 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'm trying to use the _dosmemputl function to move a double buffer into video memory... this is the code: void VidShowBuffer (char* inBuffer) { char* screen; __djgpp_nearptr_enable(); screen = 0xa0000 + __djgpp_conventional_base; _dosmemputl(inBuffer, (SCREEN_HEIGHT * SCREEN_WIDTH/4), screen); __djgpp_nearptr_disable(); } however, upon compilation, I run into multiple parse errors "before size_t" in the movedata.h file. Also, in the info file... the function prototype is _dosmemputl([buffer pointer], [number of xfers], [destination address]); however the example provided seems to call the function in this order: _dosmemputl([buffer pointer], [destination address], [number of xfers]); Anyone know what's going on? -Greg