Sunday, August 2, 2009

How do you get a pointer to a variable in Visual Basic 2008?

Pointers don't exists in VB6. I'm now using VB2008, and I don't know how to get the pointer to a variable!

How do you get a pointer to a variable in Visual Basic 2008?
Well, if you are passing this variable to a function it is pretty easy. Instead of using Byval x as Integer, use ByRef x as Integer.





Otherwise, it is much more difficult. Here is an article that might help





http://www.codeproject.com/KB/dotnet/poi...


No comments:

Post a Comment