在VB里有一句
Private Declare Function SendDP Lib "demo.dll" (ByVal hDC As Long, _
ByVal CommPort As String, ByVal ShowMode As Long, ByVal PageNo As Long, _
ByVal StopTime As Long, ByVal PageNum As Long) As Long
转成Delphi应该怎么写?
Private Declare Function SendDP Lib "demo.dll" (ByVal hDC As Long, _
ByVal CommPort As String, ByVal ShowMode As Long, ByVal PageNo As Long, _
ByVal StopTime As Long, ByVal PageNum As Long) As Long
转成Delphi应该怎么写?
function SendDP(
const hDC: Integer;
const CommPort: String;
....
....
); external 'demo.dll';
function CarObj:TCar ;external 'DemoSvr.dll';
function BicycleObj:TBicycle ;external 'DemoSvr.dll';
const hDC: Integer;
const CommPort: String;
....
....
):Integer; external 'demo.dll';