tags:

views:

65

answers:

1

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 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

+2  A: 

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...

ironic
Exactly. And even if you could get the definition, the meaning of each member would be unknown.
George Edison