Hallo, ich habe hier ein SDK was eine DLL erzeugt. Soweit sogut.
Aber wie bekomm ich die DLL Deklaration in Visual Basic.
Hab das so versucht:
Private Declare Function cspReadData Lib "csp32b.dll" ()
Private Declare Function cspClearBarCodes Lib "csp32b.dll" ()
Private Declare Function cspPowerDown Lib "csp32b.dll" ()
Private Declare Function cspGetBarcode Lib "csp32b.dll" (szBarData As String, _
nBarcodeNumber As Long, nMaxLength As Long)
Private Declare Function cspGetDeviceId Lib "csp32b.dll" (szDeviceId As String, _
nMaxLength As Long)
Private Declare Function cspGetSignature Lib "csp32b.dll" (aSignature As _
String, nMaxLength As Long)
Private Declare Function cspGetProtocol Lib "csp32b.dll" ()
Private Declare Function cspGetSystemStatus Lib "csp32b.dll" ()
Private Declare Function cspGetSwVersion Lib "csp32b.dll" (szSwVersion As _
String, nMaxLength As Long)
Private Declare Function cspSetTlBits Lib "csp32b.dll" (aTlBits As String, _
nMaxLength As Long)
Private Declare Function cspSetVolume Lib "csp32b.dll" (nVolume As Long)
Private Declare Function cspSetBarcodeRedundancy Lib "csp32b.dll" (nOnOff As _
Long)
Private Declare Function cspSetUserId Lib "csp32b.dll" (szUserId As String, _
nMaxLength As Long)
Private Declare Function cspSetContinuousScanning Lib "csp32b.dll" (nOnOff As _
Long)
Private Declare Function cspGetTlBits Lib "csp32b.dll" (aTlBits As String, _
nMaxLength As Long)
Private Declare Function cspGetVolume Lib "csp32b.dll" ()
Private Declare Function cspGetBarcodeRedundancy Lib "csp32b.dll" ()
Private Declare Function cspGetUserID Lib "csp32b.dll" (szUserId As String, _
nMaxLength As Long)
Private Declare Function cspGetContinuousScanning Lib "csp32b.dll" ()
Private Declare Function cspGetDllVersion Lib "csp32b.dll" (DllVersion As _
String, nMaxLength As Long)
Private Declare Function cspSetDebugMode Lib "csp32b.dll" (nOnOff As Long)
Private Declare Function cspReadRawData Lib "csp32b.dll" (aBuffer As String, _
nMaxLength As Long)
Private Declare Function cspSetParam Lib "csp32b.dll" (nParam As Long, szString _
As String, nMaxLength As Long)
Private Declare Function cspGetParam Lib "csp32b.dll" (nParam As Long, szString _
As String, nMaxLength As Long)
Private Declare Function cspInterrogate Lib "csp32b.dll" () leider ohne Erfolg.
kann mir jemand helfen das umzusetzen?
hier findet man die sdk:
http://tinyurl.com/27o78l
es handelt sich um einen barcodescanner mit speicher.
Ziel:
ich muss die gespeicherten datensätze in eine MDB bringen. |