麻烦高手看看,这几句vb调用dll的句子怎样转成delphi的?(100)

  • 主题发起人 主题发起人 ggboys
  • 开始时间 开始时间
G

ggboys

Unregistered / Unconfirmed
GUEST, unregistred user!
Public Declare Function DAQmxCreateTask Lib "nicaiu.dll" (ByVal taskName As String, ByRef taskHandle As Long) As LongPublic Declare Function DAQmxCreateDOChan Lib "nicaiu.dll" (ByVal taskHandle As Long, ByVal lines As String, ByVal nameToAssignToLines As String, ByVal lineGrouping As DAQmxLineGrouping) As LongPublic Declare Function DAQmxStartTask Lib "nicaiu.dll" (ByVal taskHandle As Long) As Long谢谢:我转的部分如下,有错误,麻烦帮忙改改。 Function DAQmxCreateTask(taskName:String;taskHandle:Pinteger ):Longint;stdcall; external 'nicaiu.dll'; Function DAQmxCreateDOChan(taskHandle : Longint ; lines:String; nameToAssignToLines:String;lineGrouping:DAQmxLineGrouping):Longint ; stdcall;external 'nicaiu.dll'; Function DAQmxStartTask(taskHandle:Longint ):Longint ; stdcall;external 'nicaiu.dll';
 
Function DAQmxCreateTask(taskName:PChar;var taskHandle:integer ):Longint;stdcall; external 'nicaiu.dll'; Function DAQmxCreateDOChan(taskHandle : Longint ; lines:pchar; nameToAssignToLines:pchar;lineGrouping:DAQmxLineGrouping):Longint ; stdcall;external 'nicaiu.dll'; Function DAQmxStartTask(taskHandle:Longint ):Longint ; stdcall;external 'nicaiu.dll';DAQmxLineGrouping的原始类型是什么,我不知道
 

Similar threads

后退
顶部