how do you find the length in bytes of a procedure, ie if AddressOf is the equivilent of VarPtr what's the equivilent of LenB
(I know I asked this yesterday)
Printable View
how do you find the length in bytes of a procedure, ie if AddressOf is the equivilent of VarPtr what's the equivilent of LenB
(I know I asked this yesterday)
umm, could you be clearer? anywho, all pointers in win32 platforms are 4 bytes
What I'm trying to do is copy a procedure into the memory of a foreign process so I can subclass a window in another app. I've managed to copy a procedure into a byte array and run that but I'm never sure how much to copy, I need the length of the procedure, not the length of its pointer.