Does anyone know how to find out howmuch memory a procedure takes up in memory, ie if AddressOf is the equivilent of VarPtr what's the equivilent of LenB?
Hope this makes sense.

Also, is there anyway of allocating memory in a foreign process, Ie an equivilent of HeapAlloc or GlobalLock.