Array element Pointers?

  • Thread starter Thread starter gregory_may
  • Start date Start date
G

gregory_may

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?
 
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
 
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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Pointers? 6
zero element array creation 32
Structure vs Class Objects 14
Array of ArrayList 2
initialize an array? 2
String to array of string array 1
Question about arrays 3
count elements in an array 3

Back
Top