VBGamer |
|||||||||||||||||||||||||||||||||||||||||||||||||||||
Pointers in VB? Mattman (2 replies, 0 views) (2000-Jun-25) From = VarPtr(Array1(0)) 'VarPtr returns the pointer
To = VarPtr(Array2(0))
-----------------------------------------------------------------------------------
(quote from a post in the CopyMemory thread)
Okay, I know it's may not technically be declaring a pointer as in C++, instead just using an API call, but I never heard of this for VB. I've used pointers in C++ and find them to be truly amazing, versatile things. How could I use this call in VB to my advantage? Would it speed up my program at all (though I'm sure it would maybe depend on the situation)? Cause I'm sure I couldn't do something like:
From = From -> Next
:P
Anyway, just help me out, as I've never heard of this "VarPtr" API call, or built-in function, or whatever the hell it is! :P Thanks,
Matt Huggins
<http://www.nobispro.com>
|