K
KingSoft
Unregistered / Unconfirmed
GUEST, unregistred user!
高手帮帮忙<br>在VC里的一个DLL有这么个函数int hst_polling(long *recno, long ioboxno)<br>在Delphi里要如何声明调用这东东<br><br>我用了如下几种写法都是错误E文的..意思是 参数类型错误<br>Function hst_polling(recoLongint;iobox:longint):integer;stdcall external 'hostcm32.dll';<br><br>Function hst_polling(var recoLongint;iobox:longint):integer;stdcall external 'hostcm32.dll';<br><br>Function hst_polling(var reco:Longint;iobox:longint):integer;stdcall external 'hostcm32.dll';<br><br>在VB里调用声明如下:<br>Public Declare Function hst_polling Lib "hostcm32.dll" (recno As Long, ByVal ioboxno As Long) As Intege<br><br>使用时直接 hst_polling(1,1) 就OK了,,可在D里就是怎么都搞不来..高手们帮帮忙吧