README.md

December 4, 2022 ยท View on GitHub

REAL data pointers in VB

Description

This code shows you how to use Real pointers with VB. Everyone who jelled that VB has no pointers is simply wrong! VB arrays are just pointers to memory and it's quite simple to change the address of these pointers. It's pretty usefull for fast memory access without using a crappy CopyMemory call (the CopyMemory way would a) create memory garbage and b) create overhead because data moving is slow [though cpymemory is faster then manually moving data]), though we still need 1 small CopyMemory call but it's just a helper.

More Info

Submitted On2003-10-22 16:07:02
ByMarius Schmidt
LevelIntermediate
User Rating4.3 (26 globes from 6 users)
CompatibilityVB 5.0, VB 6.0
CategoryCoding Standards
WorldVisual Basic
Archive FileREAL_data_16620910222003.zip

API Declarations

CopyMemory (well, it's just used for a little data moving)
VarPtrArray