如何用C#来调用Delphi写的DLL, 这个DLL是一个接口delphi接口的定义如下:
unit InterFaceLh;
interface
type
Lhif=interface
['{9479BEEB-9018-4125-B06D-2E6D1E5A4680}']
function Start(Channel:Integer):integer;stdcall;
function Stop(Channel:Integer):integer;stdcall;
end;
implementation
end.
unit InterFaceLh;
interface
type
Lhif=interface
['{9479BEEB-9018-4125-B06D-2E6D1E5A4680}']
function Start(Channel:Integer):integer;stdcall;
function Stop(Channel:Integer):integer;stdcall;
end;
implementation
end.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货