问题描述
例如:在Delphi中的导出函数为:functionLoad_SWDJ(h:Thandle):integer;stdcall;beginapplication.Handle:=h;frmDeath:=TfrmDeath.Create(nil);tryfrmDeath.ShowModal;finallyfrmDeath.Free;end;end;
解决方案
解决方案二:
import["Delphi.dll"
解决方案三:
[DllImport("**.dll")]staticexternintLoad_SWDJ(IntPtrh);
时间: 2024-08-01 09:25:07