C++ DLL Injection get Struct values
I am trying inject into a dll that sends a void ** for one of the parameters.
The void ** can contain structs 开发者_开发问答that are created in the application.
Is there any way of getting data out of the structs.
If I understand you correcly you want to create a function in a DLL that accepts a void** and then be able to figure out what structs the caller has passed through the void** parameter.
In that case the answer is that no, you cannot do that. The function accepting the void** needs to know what is inside it. There is no such thing as reflection in pure C++ that can handle that situation.
精彩评论