From: producao AT scordon DOT com DOT br X-Authentication-Warning: s001.scordon: mauro owned process doing -bs Date: Fri, 6 Apr 2001 16:46:33 -0300 (EST) X-Sender: mauro AT s001 DOT scordon To: djgpp AT delorie DOT com Subject: Problem with Novell (write/read file) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Hi, Excuse my English. I have a big problem, I open file (this file exist) exclusive, not share. I write same data, when I try read this file, and compare with data in memory, this data is wrong, not same data. I open this file "r+b", I seek position, I write data, I seek position, I read dataw, compare dataw with data, the compare is wrong. This error is not common, this occurs not always. When I use the Borland C 3.1, my programa work ok, but when I use gcc 2.95.1, this error happen. Thank's for any help. Mauro Cordon +-------------------------+ | Sistemas CORDON Ltda | | Aplicativos Definitivos | | www.scordon.com.br | | producao AT scordon DOT com DOT br | +-------------------------+