开发者

How to know defination of a struct in dll?

I need to use a third party DLL which I don't have header , lib or object file of it just DLL alone, I follow this article "Explicitly Linking to Classes in DLL's" in codeguru and able to user function, c++ class from that DLL but there some function call that need to pass or return a struct like this undecorated function I get from PE Explorer:

Undecorated 开发者_StackOverflow中文版C++ Function:
public: struct SCRIPT_SET_RESULT __thiscall ScriptSet::LoadScriptInPackFile(char const *,int)

so how can I know the structure of struct SCRIPT_SET_RESULT ? or I have to disassemble this dll ?, if so please show me how to do that, I only have a very litle experience with that stuff (only cracked few simple crackme in school). Thanks


I'm afraid there is no way to solve your problem. Disassembling can give you examples of how this structure is used but only in the way providing offsets of members which is not very helpful. I think the best is to ask DLL author to send you header, or to google for it...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜