By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,571 Members | 1,628 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,571 IT Pros & Developers. It's quick & easy.

Array element Pointers?

P: n/a
Is there a way in VB.Net to declare a local variable that will manipulate an
array element .... kind of like an item pointer to a global array?

Feb 17 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Is there a way in VB.Net to declare a local variable that will manipulate an
array element .... kind of like an item pointer to a global array?


Can't you just access the array directly?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Feb 18 '06 #2

P: n/a
I am using a thread pool. When executing the callback, I was having trouble
getting the correct context information. I wrapped the array in a class &
am using a "key" to find the right structure context structure I need.

The reference types seemed to act weirdly in the thread callbacks. The
Classed wrapper seems to be fixing my problem ...

I didn't want to update directly ... its an array list of structures. The
syntax to get & update the right elements is very messy & doesn't actually
work correctly in Vb.Net. (see my other post, late binding problems).

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Is there a way in VB.Net to declare a local variable that will manipulate
an
array element .... kind of like an item pointer to a global array?


Can't you just access the array directly?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Feb 20 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.