Posted by henrik
(188.8.131.52) on April 08, 2003 at 05:24:04:
I have problems open and reading from a binary file.
I define the file like this:
... here follows in total 16kb of data
Then I try to open the file and read 32 bytes of data like this:
Private ROMaddress% As Integer
Private hashblock$ As String*32
Private file@ As Byte
ROMaddress% = &H1fe
file@ = Open "@:mydir\myfile" For Binary Access Read
But this doesn't work, can you tell me why and/or give an example of working with binary files?