我想在VB6 code .NET属性的控件名称,只是喜欢的这篇文章。但不幸的是,它并没有为我工作。我总是为0 bufferMem。
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?
你预先设置的大小?
size = 65536