README.md

December 4, 2022 ยท View on GitHub

Pointer Manipulation

Description

Ever wanted to pass a String to a callback function, only to find out it only accepts Long's as inputs?

Now you can pass in the memory address (A long), then use the string as normal within the function.

Also included are pointer conversions to Two, Four, Eight and Twenty Two bit variables

More Info

Submitted On2006-10-05 06:50:02
ByRob
LevelAdvanced
User Rating5.0 (10 globes from 2 users)
CompatibilityVB 6.0
CategoryWindows API Call/ Explanation
WorldVisual Basic
Archive FilePointer_Ma2023271052006.zip

API Declarations

Public Declare Function CallWindowProc Lib "user32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hwnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)