Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declare's similarity for VFP and VB
Message
From
07/06/2004 16:29:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Declare's similarity for VFP and VB
Miscellaneous
Thread ID:
00910910
Message ID:
00910910
Views:
64
Hello all

Sintaxe for VB
Declare Function E4Open Lib "ECFAPI.DLL" (ByVal Porta As Byte, ByVal Tipo As Byte) As Integer
Declare Function E4Close Lib "ECFAPI.DLL" () As Integer
Declare Function E4Reset Lib "ECFAPI.DLL" (ByVal Tipo As Integer) As Integer
Declare Function E4RdData Lib "ECFAPI.DLL" (ByVal Data As String, ByVal Hora As String, ByRef Verao As Byte, ByVal Mov As String, ByRef Red As Byte) As Integer
How should I create Byte data param. for VFP ?

Sintaxe for VFP
Declare  integer E4Open      in "ECFAPI.DLL" Integer Porta, Integer Tipo
Declare  integer E4Close     in "ECFAPI.DLL"
Declare  integer E4Reset     in "ECFAPI.DLL" Integer Tipo
Declare  integer E4RdData    in "ECFAPI.DLL" String dData, String Hora, String Verao, String Mov, String @Red
Declare  integer E4Verao     in "ECFAPI.DLL" String Opc

wret = e4open(1,1)
TIA

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Next
Reply
Map
View

Click here to load this message in the networking platform