Click to See Complete Forum and Search --> : Declaring an API function with UNKNOWN arguments


riccello
April 9th, 2003, 10:00 PM
Hello there,

Does anybody know a way to find the Exported function's signature? I am trying to use a DLL which is a TWAIN driver.
I know the names of the functions that the DLL exports, that's easy, but I can't see what the Headers look like. So, how do I find a way in?

I was thinking to write a program which dynamically constructs declaration strings and tries to compile a VB project. If it can't be compiled, the declaration is wrong, and so on... There will be a lot of permutations though :)

I haven't tried it yet. I will use it as my last resort if no one has a better suggestion.

Thanks for all your help and consideration!

Rick

Dmitry Zemskov
April 13th, 2003, 08:56 PM
dumpbin /exports YOUR_DLL_NAME