1

I want to get the ControlName of .NET properties in VB6 code, just like described in this article. But unfortunately, it doesn't work for me. I always got 0 for bufferMem.

        bufferMem = VirtualAllocEx(processHandle, 0, size, 
        MEM_RESERVE Or MEM_COMMIT, PAGE_READWRITE)
        If bufferMem = 0 Then
            Error Err, "VirtualAllocEx API Failed"
        End If

What am I doing wrong?

1 Answer 1

1

Do you set the size beforehand?

size = 65536
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.