To date the term "Byte Ptr" still has me confused.
Afterall, its not making a variable point to a 'Byte-sized' variable. or is it?
Can someone explain (in laymans terms) what goes on when you use Bte Ptr?
I've used it in Win32 API functions like this:
It seems to work without error.
So, is Byte Ptr the same as C's *pointers?
What about Int Ptr, Float Ptr, Varptr, Var, etc ..
Why, where, when, how, would you use these?
Afterall, its not making a variable point to a 'Byte-sized' variable. or is it?
Can someone explain (in laymans terms) what goes on when you use Bte Ptr?
I've used it in Win32 API functions like this:
Extern "Win32" Function InvertRect(hdc%,tREC:Byte Ptr) End Extern ... Local r:RECT=New RECT r.l=x ; r.t=y ; r.r=x+width ; r.b=y+height InvertRect bufferDC,Byte Ptr(r)
It seems to work without error.
So, is Byte Ptr the same as C's *pointers?
What about Int Ptr, Float Ptr, Varptr, Var, etc ..
Why, where, when, how, would you use these?
