Get The Address of An Object in Memory
Category:
System/APIType:
SnippetsDifficulty:
IntermediateAuthor:
AnonymousVersion Compatibility: Visual Basic.NET
More information:
There was function in VB6 that supplied you with the pointer for a variable in memory. This does not exist in VB.NET, so this function will return the offset of where a given object is located in memory.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: