也就是,我想知道有什么方法能知道该DLL中的函数类型及其参数!

解决方案 »

  1.   

    不能。dll中的函数可以看作一个地址,应用程序可以跳到那个地址去执行。
      

  2.   

    dumpbin /export your.dll >your.def
    lib /def:your.def
    注意生成的def文件中还是不很明了。
    把你知道的dll文件的声明函数比较一下,具体参数可能有问题。
      

  3.   

    you can only find the function name, but it is impossible to get the parameter of the function in dll unless you can get the header file for that dll
      

  4.   

    你的调用方式是不是指是"C"和"PASCAL"方式你可以反汇编DLL,看那个函数返回时,
    如果指令是ret *,ret跟了弹出参数栈的数字,则是pascal调用,它在函数体内负责参数堆栈的弹出
    如果直接是ret应该是pascal方式,它由调用者负责参数的弹出一个dll函数的调用参数只能通过反汇编来猜