new - DLL
然后在里面写代码就可以了.

解决方案 »

  1.   

    library MinMax;function Min(X, Y: Integer): Integer; stdcall;//标准输出begin
      if X < Y then Min := X else Min := Y;
    end;function Max(X, Y: Integer): Integer; stdcall;begin
      if X > Y then Max := X else Max := Y;
    end;exports //输出的函数名声明
      Min,
      Max;beginend.
      

  2.   

    到www.smiling.com.cn上找Delphi共享小组,上面我写了一组有关这方面的教材,你找阿猫Delphi入门就是