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

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

From: Robert Covington <artlythere@...>
Date: Tue, 27 Mar 2001 05:07:21 -0500 (EST)
I Wrote:
>And the cmpcount is there too in the original PICT, if using something
>like PICT Detective 2.0.2b to look at it.
>
>
>Can I tell from a PICT handle itself what the cmpCount is? That info must
>be in there somewhere...


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.

Robert Covington