[futurebasic] Handles and pointers

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Sylvain Guillemette <allmedia@...>
Date: Tue, 21 Sep 1999 20:43:25 -0400
Hi,

I'm lost! (nothing unusual),

Please help me!

Here's my problems:

1)
How do i create a pointer to an handle created with NEWHANDLE ?
Is it just: HandlePtr& = @MyHandle ?

2)
How can i find out the size of the handle using just the pointer ? (with GETHANDLESIZE)

3)
Also, by just using the pointer, how can i, for example, read the 12th byte in
the handle ?

4)
How do i put, for example, 200 in the 12th byte of a handle ? (not using a pointer)


Thanks!
Sylvain

PS: I've always had problems with pointers and handles. I think there should be
a tutorial or a FAQ-Sheet on these. Just a suggestion...