| |

Fortgeschrittene ProgrammierungDLL(C++ Quellcode) Deklaration in VB | |  | Autor: E-P-S | Datum: 22.11.07 15:58 |
| 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. |  |
 | Sie sind nicht angemeldet! Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.
Einloggen | Neu registrieren |
  |
|
sevWizard für VB5/6 
Professionelle Assistenten im Handumdrehen
Erstellen Sie eigene Assistenten (Wizards) im Look & Feel von Windows 2000/XP - mit allem Komfort und zwar in Windeseile :-) Weitere InfosTipp des Monats Oktober 2025 Matthias KozlowskiUmlaute konvertierenErsetzt die Umlaute in einer Zeichenkette durch die entsprechenden Doppelbuchstaben (aus ä wird ae, usw.) Access-Tools Vol.1 
Über 400 MByte Inhalt
Mehr als 250 Access-Beispiele, 25 Add-Ins und ActiveX-Komponenten, 16 VB-Projekt inkl. Source, mehr als 320 Tipps & Tricks für Access und VB
Nur 24,95 EURWeitere Infos
|
|
|
Copyright ©2000-2025 vb@rchiv Dieter Otter Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.
Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel
|
|