delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/27/18:14:39

From: DarkSoft AT GMX DOT Net (^Hawk^ (Thorsten Kaben))
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP / 32bit <-> 16bit files r/w !?
Date: Fri, 27 Mar 1998 00:23:54 +0100
Organization: CENSORED
Lines: 14
Message-ID: <351ce359.12489868@news.on-luebeck.de>
NNTP-Posting-Host: 194.25.93.166
Mime-Version: 1.0
Keywords: VGAP, VGA-Planets, Add-on, AddOn, Host, Player, Tools
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello !

I've a problem ... I've a given struct of a 16bit file where an int
16bit is and a lon 32bit (only a 16bit file struct :) ... so far so
good ... but how can I read / write 16bit files with DJGPP !?

If I try to translate the structs and read / write the 16bit files
then I've never the stored datas and at the writing are my created
files always to long ... if I've a file that's 338 bytes long and I
try to write the same file then it's 588 bytes long ... :((= ...

Any hints !? What must / can I do !?

Bye, ^Hawk^. http://www.bubis.com/DarkSoft/

- Raw text -


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