how to view unmanaged C dll?

Hi All,
I have a unmanaged C dll and would like to know how I can view it. I know Reflector can be used to view managed dlls, but my dll does not have CLI header, it is a pure C dll......
Who is Participating?
Daniel Van Der WerkenConnect With a Mentor Independent ConsultantCommented:
dumpbin /exports
should give you what the dll exports out for use such as something you might want to use PInvoke on.

hamid441Author Commented:
Hey Dan7el,
Thanks for your prompt answer. I was able to view the functions inside the dll. Do you know if there is a way to view the structs in the dll? My dll has many typedef struct {...}, and I would like to view them as well....
hamid441Author Commented:
Also, It would be nice to view function params...
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Try Dependency Walker:

That's an easy way. But it is not enough to see a structure or the parameters.

Just for your info OllyDbg:

Reverse engineering is not an easy task.
Daniel Van Der WerkenIndependent ConsultantCommented:
There is really no way to do what you want without the symbol files and using a debugger.

evilrixSenior Software Engineer (Avast)Commented:
Once compiled, there is no way to get back to the original C/C++ code. Your best bet is to use a disassembler.

A really great free one is IDAPro

...but you will need to know how to use such a tool and it is not a trivial task by any mean!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.