VB中调用一个Dll,delphi中如何调用这个dll库(50分)

  • 主题发起人 主题发起人 wxu
  • 开始时间 开始时间
W

wxu

Unregistered / Unconfirmed
GUEST, unregistred user!
这是VB中调用dll的代码,<br>Option Explicit<br>Private Declare Function GBIMAPI Lib "GBNRTI32.DLL" Alias "_GBIMAPI@16" (ByVal query As String, ByVal Buffr As String, ByVal reply As String, ByVal Handl As String) As Integer<br><br>'Accelerator Developer Toolkit Variables<br>Private m_sQuery As String<br>Private m_sBuffer As String * 15000<br>Private m_sReply As String * 6<br>Private m_sHandle As String * 6<br>Private m_iReply As Integer<br><br>现在我想在delphi中调用这个Dll,应该怎么写?
 
自己顶一下
 
前面加申明:<br>function GBIMAPI(query, Buffer, reply, Handle: PChar): Integer;external 'GBNRTI32.DLL' name '_GBIMAPI@16';
 
后退
顶部