dll引出时,这样对吗?
EXPORTS
    ; Explicit exports can go here
 add
 writeadd  write两个函数之间有间隔符吗?

解决方案 »

  1.   

    EXPORTS
        ; Explicit exports can go here
     add @1
     write @2记得应该是这样用
      

  2.   

    add write之间没有分隔符。
    我前不久刚作过一个DLL,def文件的格式如下:
    ; Gzip_NCR.def : Declares the module parameters for the DLL.LIBRARY      "Gzip_NCR"
    DESCRIPTION  'Gzip_NCR Windows Dynamic Link Library'EXPORTS
        ; Explicit exports can go here
    compress          @1 //压缩函数
    uncompress @2 //解压函数
    @1,@2仅仅是为了定义一个入口函数的相对次序,有没有无所谓。