正在加载图片...
1023编写DLL(2) 【例10-1】 MathDIIl dpr具有整数相加和整数相减函数的DLL。 library MathDIl function Add(X,Y: Integer): Integer stdcall begin result: X+Y end function Sub(X, Y: Integer): Integer stdcall begin result: = X-Y end exports Add Sub end Inprise Dephi10.2.3 编写DLL(2) 【例10-1】 MathDll.dpr具有整数相加和整数相减函数的DLL。 library MathDll; function Add(X,Y:Integer):Integer;stdcall; begin result:=X+Y; end; function Sub(X, Y: Integer):Integer;stdcall; begin result:=X-Y; end; exports Add,Sub; end
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有