[futurebasic] Re: [FB] Re:[FB^3] Alpha No Idea

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2001 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Tue, 27 Mar 2001 13:29:44 +0200

Robert Covington wrote:

> Looking at a PICT in HexEdit, after the 512 Byte crud header stuff, the
> cmpcount value resides at decimal address 603, Hex address of 25B.
> This doesn't take into account that when FB opens the PICT , it truncates
> the handle by the 512 mushbytes, so presumably (?) this info now is at
> decimal 91?
> If this is indeed the case, and I have a PictH as handle containing a PICT
> from the Open FN, how now in all of brown cow ( non-infected ), can I get
> at the little (2 bytes?? (Integer)) that is cmpcount?
> gCmpCount = [PictH] + whuddadoIdo?  I have plugged in the various looking
> obvious solutions, but no proper results.
> Think I am on the right track, if not, somebody please help. Direct memory
> access to handles and stuff is new to me. I am bound to screw it up at this
> point.

Hi Robert,

Is it just a matter of peeking an integer at a given offset or did I
misinterpret your post?
>From my understanding of your explanation you should merely do something like

gCmpCount = {[PictH] + 91}

or perhaps this might work too who knows?:

gCmpCount = PictH..91%



FB^3 in Europe:  http://euro.futurebasic.com/
FB II Pouch:     http://www.pixmix.com/FB/outils.html