L
laowt
Unregistered / Unconfirmed
GUEST, unregistred user!
http://www.delphibbs.com/delphibbs/dispq.asp?lid=3992430上帖,我现在有一个dll的vc创建新应用程序的说明,delphi中如何调用?得到dark_power请帮助,不过问题还没有解决。 现在我找到了调用该dll的vb程序代码,已编辑通过,贴出来供各位分析,看如何改成delphi的代码(上帖给热心的dark_power70分,加上本帖100分,给出代码能通过的可得190分),谢谢!Option Explicit'以下是ABCD_DLL的函数定义Private Declare Sub ABCD_Init Lib "ABCD_dll.dll" ()Private Declare Function ABCD_Read Lib "ABCD_dll.dll" () As LongPrivate Declare Sub ABCD_Write Lib "ABCD_dll.dll" (ByVal port As Long)Private Sub Command1_Click() ABCD_Write (Val(Text1.Text))End SubPrivate Sub Command2_Click() Text1.Text = ABCD_ReadEnd Sub