What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Getting unmanaged dll function params

Getting unmanaged dll function params
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: Getting unmanaged dll function params
As far as I know the return type is not stored inside the DLL at all, it's not necessary for the way DLLs work and it's the responsibility of the caller to know what it expects..

The same for the parameters. You get no clue as to what they're for unless you disassemble it and try to understand the assembly. One thing you can find out though is the name of the functions and how many parameters they take.

To do this I suggest you download OllyDbg and open your DLL with it. It'll say that it can't execute them directly and ask if it should launch LOADDLL.EXE, say yes.

Once the DLL is loaded, click on the triangle "play" button (or press F9) so that it executes the DllMain() function. Then go to the Debug -> Call DLL Export menu and you will be provided with a list of functions that were exported in the DLL and (if it is able to find it out successfully) the number of parameters they take.
The previous sentence is false. The following sentence is true.
08-06-2005 03:37 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Getting unmanaged dll function params - by J-Thread on 08-06-2005 at 08:34 AM
RE: Getting unmanaged dll function params - by segosa on 08-06-2005 at 03:37 PM
RE: Getting unmanaged dll function params - by J-Thread on 08-06-2005 at 05:24 PM
RE: Getting unmanaged dll function params - by segosa on 08-06-2005 at 07:17 PM
RE: Getting unmanaged dll function params - by RaceProUK on 08-06-2005 at 07:20 PM
RE: Getting unmanaged dll function params - by J-Thread on 08-06-2005 at 08:01 PM
RE: Getting unmanaged dll function params - by RaceProUK on 08-06-2005 at 08:13 PM
RE: Getting unmanaged dll function params - by J-Thread on 08-06-2005 at 08:44 PM
RE: Getting unmanaged dll function params - by RaceProUK on 08-06-2005 at 08:45 PM
RE: Getting unmanaged dll function params - by segosa on 08-07-2005 at 08:53 AM
RE: Getting unmanaged dll function params - by J-Thread on 08-07-2005 at 08:59 AM
RE: Getting unmanaged dll function params - by RaceProUK on 08-07-2005 at 04:55 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On