Visualizzazione dei risultati da 1 a 5 su 5

Discussione: Aiuto driver in vb6

  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2009
    Messaggi
    2

    Aiuto driver in vb6

    Ciao, sono nuovo del forum e spero di postare nella sezione giusta.
    Allora, premettendo che ci capisco poco e niente di programmazione o il seguente problema.
    Ho un software (fatto in vb6) che gestische i clienti tramite un lettore smart card inserito nella tastiera che comunica tramite seriale (com 6), e le card sono delle normalissime Sle4442 con chip siemens.
    Le tastiere sono delle athena smartcard solution e il lettore usa i driver ASE IIIe.
    Io voglio cambiare queste tastiere, perchè ogni volta che si consuma il lettore per usura la tastiera completa (non vendono solo il ricambio a parte) mi costa 70 euro.
    Ho trovate delle nuove tastiere con lettore a 24 euro della acs (acr30s) ma il software non vuole sapere di dialogare con queste tastiere e forse ho scoperto perchè tale software è programmato per leggere solo i driver ASE IIIe.
    Come posso ovviare a questo problema?
    Il programmatore ora a pechino o non pensa di tornare...
    Non ce la faccio più. Possibile che l'unico metodo è riscrivere il programma?
    Vi prego ho urgenza perchè si stanno usurando tutte le tastiere.
    Grazie in anticipo.

  2. #2
    Utente di HTML.it L'avatar di Stoicenko
    Registrato dal
    Feb 2004
    Messaggi
    2,254
    non è la sezione giusta visto che poi è un problema del programmatore che ha fatto il programma e non un problema di programmazione..

    in più senza sapere che programma è, senza vedere il codice ecc nessuno potrà mai aiutarti

  3. #3
    Utente di HTML.it
    Registrato dal
    Jun 2009
    Messaggi
    2
    è un programma che mi gestisce i clienti del negozio.
    praticamente hanno una mia scheda prepagata che gli scala il credito, fa il log delle connessioni, ecc ecc...
    dunque è un programma solo nostro.
    il programma funziona, ma sto furbune me la scritto dicendogli di andare a prendere i driver di solo quel tipo di tastiera (athena smartcard solution, driver ASEIIIe), dunque qualsiasi altra tastiera che gli metto con le stesse funzioni, non me le legge.
    devo riscrivere per forza il programma o si può ovviare a questo problema, tipo modificando il driver nuovo? e se la risposta è positiva, come faccio?
    ti elenco qui il vecchio driver che precede quello nuovo:

    ;/*++
    ;
    ;Copyright (c) Athena Smart Card Ltd.
    ;
    ;Module Name:
    ;
    ; ASEDriveSerial.INF
    ;
    ;--*/
    [Version]
    Signature=$CHICAGO$
    CatalogFile=ASEDriveSerial.cat
    Class=SmartCardReader
    ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
    Provider=%MFGNAME%
    DriverVer=05/20/2007,1.0.4.4

    [Manufacturer]
    %MFGNAME%=DeviceList,ntamd64,ntia64

    [DestinationDirs]
    AMDDriverCopyFiles = 10,System32\Drivers
    IADriverCopyFiles = 10,System32\Drivers
    DriverCopyFiles = 10,System32\Drivers
    DefaultDestDir=10,System32\Drivers
    Copy_Enum_Dll_AMD=10,System32
    Copy_Enum_Dll_IA=10,System32
    Copy_Enum_Dll_NTX86=10,System32
    Copy_Enum_Dll_2000=10,System32

    [SourceDisksFiles]
    ASEDRV3.sys=1
    ASEDriveSerial.inf=1
    ASEDriveProp.dll=1

    [SourceDisksNames]
    1=%INSTDISK%,,,

    [ControlFlags]
    ; Prevent legacy install for PnP readers
    ExcludeFromSelect=SERENUM\ATN1001

    [DeviceList]
    %SERIALDESCRIPTION%=DriverInstall,SERENUM\ATN1001

    [DeviceList.ntamd64]
    %SERIALDESCRIPTION%=DriverInstall.ntamd64,SERENUM\ ATN1001

    [DeviceList.ntia64]
    %SERIALDESCRIPTION%=DriverInstall.ntia64,SERENUM\A TN1001

    ;------------------------------------------------------------------------------
    ; Windows ntamd64 Sections
    ;------------------------------------------------------------------------------

    ; TODO Add a LogConfig command to the following install section if this is a legacy device

    [DriverInstall.ntamd64]
    CopyFiles=AMDDriverCopyFiles

    [DriverInstall.ntamd64.CoInstallers]
    AddReg = EnumPropPage_AddReg
    CopyFiles=Copy_Enum_Dll_AMD


    [AMDDriverCopyFiles]
    ASEDRV3.sys,,,2

    [Copy_Enum_Dll_AMD]
    ASEDriveProp.dll

    [EnumPropPage_AddReg]
    HKR,,EnumPropPages,0,ASEDriveProp.dll
    ; HKR,,EnumPropPages32,,"ASEDriveProp.dll, EnumPropPages"
    HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
    HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0 x00010001,2
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLNa me,0,wlnotify.dll
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon ,0,SCardStartCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logof f,0,SCardStopCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock, 0,SCardSuspendCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unloc k,0,SCardResumeCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabl ed,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Imper sonate,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Async hronous,0x00010001,1

    [DriverInstall.ntamd64.Services]
    AddService=ASEDRV3,2,DriverService.ntamd64

    [DriverService.ntamd64]
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%10%\system32\drivers\ASEDRV3.sys

    [DriverInstall.ntamd64.hw]
    AddReg=DriverHwAddReg

    [DriverHwAddReg]


    ;------------------------------------------------------------------------------
    ; Windows ntia64 Sections
    ;------------------------------------------------------------------------------

    ; TODO Add a LogConfig command to the following install section if this is a legacy device

    [DriverInstall.ntia64]
    CopyFiles=IADriverCopyFiles

    [DriverInstall.ntia64.CoInstallers]
    AddReg = EnumPropPage_AddReg
    CopyFiles=Copy_Enum_Dll_IA

    [IADriverCopyFiles]
    ASEDRV3.sys,,,2

    [Copy_Enum_Dll_IA]
    ASEDriveProp.dll

    [EnumPropPage_AddReg]
    HKR,,EnumPropPages,0,ASEDriveProp.dll
    ; HKR,,EnumPropPages32,,"ASEDriveProp.dll, EnumPropPages"
    HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
    HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0 x00010001,2
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLNa me,0,wlnotify.dll
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon ,0,SCardStartCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logof f,0,SCardStopCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock, 0,SCardSuspendCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unloc k,0,SCardResumeCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabl ed,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Imper sonate,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Async hronous,0x00010001,1

    [DriverInstall.ntia64.Services]
    AddService=ASEDRV3,2,DriverService.ntia64

    [DriverService.ntia64]
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%10%\system32\drivers\ASEDRV3.sys

    [DriverInstall.ntia64.hw]
    AddReg=DriverHwAddReg

    [DriverHwAddReg]

    ;------------------------------------------------------------------------------
    ; Windows ntx86 Sections
    ;------------------------------------------------------------------------------

    ; TODO Add a LogConfig command to the following install section if this is a legacy device

    [DriverInstall.ntx86]
    CopyFiles=DriverCopyFiles

    [DriverInstall.ntx86.CoInstallers]
    AddReg = EnumPropPage_AddReg
    CopyFiles=Copy_Enum_Dll_NTX86

    [DriverCopyFiles]
    ASEDRV3.sys,,,2

    [Copy_Enum_Dll_NTX86]
    ASEDriveProp.dll,,,2

    [EnumPropPage_AddReg]
    HKR,,EnumPropPages32,,"ASEDriveProp.dll, EnumPropPages"
    HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
    HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0 x00010001,2
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLNa me,0,wlnotify.dll
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon ,0,SCardStartCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logof f,0,SCardStopCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock, 0,SCardSuspendCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unloc k,0,SCardResumeCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabl ed,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Imper sonate,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Async hronous,0x00010001,1

    [DriverInstall.ntx86.Services]
    AddService=ASEDRV3,2,DriverService.ntx86

    [DriverService.ntx86]
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%10%\system32\drivers\ASEDRV3.sys

    [DriverInstall.ntx86.hw]
    AddReg=DriverHwAddReg

    [DriverHwAddReg]


    ;------------------------------------------------------------------------------
    ; Windows 2000 Sections
    ;------------------------------------------------------------------------------

    ; TODO Add a LogConfig command to the following install section if this is a legacy device

    [DriverInstall.NT]
    CopyFiles=DriverCopyFiles

    [DriverInstall.NT.CoInstallers]
    AddReg = EnumPropPage_AddReg
    CopyFiles=Copy_Enum_Dll_2000

    [DriverCopyFiles]
    ASEDRV3.sys,,,2

    [Copy_Enum_Dll_2000]
    ASEDriveProp.dll,,,2

    [EnumPropPage_AddReg]
    HKR,,EnumPropPages32,,"ASEDriveProp.dll, EnumPropPages"
    HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
    HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0 x00010001,2
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLNa me,0,wlnotify.dll
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon ,0,SCardStartCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logof f,0,SCardStopCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock, 0,SCardSuspendCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unloc k,0,SCardResumeCertProp
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabl ed,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Imper sonate,0x00010001,1
    HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Async hronous,0x00010001,1

    [DriverInstall.NT.Services]
    AddService=ASEDRV3,2,DriverService

    [DriverService]
    ServiceType=1
    StartType=3
    ErrorControl=1
    ServiceBinary=%10%\system32\drivers\ASEDRV3.sys

    [DriverInstall.nt.hw]
    AddReg=DriverHwAddReg

    [DriverHwAddReg]

    ;------------------------------------------------------------------------------
    ; Windows 98 Sections
    ;------------------------------------------------------------------------------

    [DriverInstall]
    AddReg=DriverAddReg
    CopyFiles=DriverCopyFiles

    ; TODO Add a LogConfig command and section if this is a legacy device

    [DriverAddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,ASEDRV3.sys

    [DriverInstall.HW]
    AddReg=DriverHwAddReg

    ;------------------------------------------------------------------------------
    ; String Definitions
    ;------------------------------------------------------------------------------

    [Strings]
    MFGNAME="Athena Smartcard Solutions"
    INSTDISK="Athena Smartcard Solutions Installation Disc"
    SERIALDESCRIPTION = "Athena ASEDrive IIIe Serial"

    quello nuovo:
    ; VCOMBUS.INF
    ; Copyright (c) 1994 - 2004 Advanced Card System Ltd

    [Version]
    DriverVer=01/27/2005,0.0.0.6
    Signature="$Windows NT$"
    Class=Ports
    ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
    Provider=%ACS%

    ; ================= Class section =====================

    [Manufacturer]
    %ACS%=DeviceList

    [SourceDisksNames.x86]
    1="Virtual COMM Port Driver Install Disk",,,""

    [SourceDisksFiles]
    vcombus.sys=1

    [DestinationDirs]
    VCOMBus.CopySYS = 10,System32\Drivers

    [DeviceList]
    %Device.Desc%=DriverInstall, *ACS1000

    [DriverInstall.NT]
    ;CopyFiles=VCOMBus.CopySYS

    [DriverInstall.NT.Services]
    AddService=VCOMBUS,2,DriverService

    [DriverService]
    DisplayName = %Device.Desc%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %10%\system32\drivers\vcombus.sys

    [VCOMBus.CopySYS]
    vcombus.sys,,,2

    ; ================= Strings =====================

    [Strings]
    ACS = "Advanced Card Systems"
    Device.Desc = "Virtual COM Port"

  4. #4
    Utente di HTML.it L'avatar di Stoicenko
    Registrato dal
    Feb 2004
    Messaggi
    2,254
    no, no, no, no

    non si usa così un forum.. come ben descritto nel regolamento (che avrai sicuramente letto vero?) si posta il codice nei tag code o php e soprattutto non si richiede codice o lavori da fare ma si discute su problemi ed erroriu..

    ora, il tuo programma è fatto per usa re tali driver e deve essere rifatto per usarne degli altri..

    se non lo sai fare (come hai scritto) è inutile postare qui ma posta il "cerco\offro collaborazione"

  5. #5
    Moderatore di Programmazione L'avatar di LeleFT
    Registrato dal
    Jun 2003
    Messaggi
    17,304

    Moderazione

    Dato che per ora non si vede traccia di righe di codice VB su cui lavorare, che siamo nella sezione sbagliata, che manca l'uso dei tag CODE, che il titolo non è propriamente dei migliori, direi che chiudo questa discussione ed invito l'autore ad aprirne, eventualmente, una nuova nel forum più adatto (Visual Basic e .NET Framework per problemi di programmazione, Offro Lavoro / Collaborazione per richieste di riscrittura codice), seguendo il regolamento interno all'area scelta (discussione in rilievo).


    Ciao.
    "Perchè spendere anche solo 5 dollari per un S.O., quando posso averne uno gratis e spendere quei 5 dollari per 5 bottiglie di birra?" [Jon "maddog" Hall]
    Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.