vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Blitzschnelles Erstellen von grafischen Diagrammen!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2024
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

Fortgeschrittene Programmierung
DLL(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.
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
DLL(C++ Quellcode) Deklaration in VB1.036E-P-S22.11.07 15:58
Re: DLL(C++ Quellcode) Deklaration in VB574Dirk23.11.07 08:08
Re: DLL(C++ Quellcode) Deklaration in VB627BAStler23.11.07 08:48
Re: DLL(C++ Quellcode) Deklaration in VB598E-P-S23.11.07 08:57
Re: DLL(C++ Quellcode) Deklaration in VB613BAStler23.11.07 10:14

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

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2024 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