Post

 Resources 

Console


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>


-
Back to Forum

RE: Pointers in VB? David Goodlad (1 reply) (2000-Jun-25)
That's what I thought, thanks *nt* Mattman (0 replies) (2000-Jun-26)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 18 visitors within the last 20 minutes
RSS News Feed