Re: How can operate such low-level file in vfp? by quan
quan
Wed Nov 26 02:49:56 CST 2003
I know the reason, thank you!
"quan" <cnchuen@hotmail.com> дÈëÓʼþ
news:OC0Cyh$sDHA.2380@TK2MSFTNGP09.phx.gbl...
> You can see the attached file in debug the following:
> AA 00 00 00 00 01 00 05-18 33 72
> If I create a file by such method in vfp:
> fhand=fcreate("my.t")
>
fwrite(fhand,chr(170)+chr(0)+chr(0)+chr(0)+chr(0)+chr(1)+chr(0)+chr(5)+chr(1
> 8)+chr(33)+chr(72))
>
> Then if i debug the file created just now, I will get the following
result:
> AA 00 00 00 00 01 00 05-12 21 48
>
> I can't understand why, anyone can tell me why?
>
> tks!
>
> "quan" <cnchuen@hotmail.com> дÈëÓʼþ
> news:OeUIQX$sDHA.2348@TK2MSFTNGP09.phx.gbl...
> > Hi,everyone,
> > The attachment file was not created by vfp, I want to create and operate
> > such file in vfp. I can't create it in vfp by fcreate & fwrite function,
> > also I can't read the right information from the attached file by fread.
> The
> > attached file includes two continuous digits: 0000000001 and
0005183372,
> > you can see it by debug. Anyone can give me ideas?
> >
> > thks in advance?
> >
> > chuen
> >
> >
> >
>
>