Uso de componentes de un ActiveX y DLL
Publicado por Abdid (4 intervenciones) el 15/03/2005 20:02:57
Mi duda es como implemento en un programa de VB la siguiente documentación obtenida:
Name FPDevices
Interfaces IFPDevices
Event interface _IFPDevicesEvents
Description
This component implements a collection of the fingerprint devices in the system and allows enumerating them, referencing a specific device by its serial number and monitor plug-n-play events
Methods
Device([in]BSTR serNum, [out,retval]IDispatch **ppDev)
Returns the device whose serial number is specified in serNum parameter. If the device is not connected ppDev is NULL.
Properties
Count([out,retval] int *pCount)
Returns the number of connected devices. The property is read only.
Item([in] int devNum, [out,retval] IDispatch **ppDev)
The standard Item property for the collections. The values for the devNum parameter start from 1. The property is read-only.
_NewEnum([out, retval] IUnknown **ppunkEnum)
The standard _NewEnum property for the collections. It returns a pointer to an IEnumVARIANT interface. The property is read-only.
Event methods
DeviceConnected([in] BSTR serNum)
A new fingerprint device has been connected and its serial number is serNum.
DeviceDisconnected([in] BSTR serNum)
The device whose serial number is serNum has been disconnected.
Return codes
None
Libraries
DpSdkEng.dll
Es decir como uso esos métodos y eventos, debo registrar la dll? y como? accesos a esos metodos. Gracias.
Name FPDevices
Interfaces IFPDevices
Event interface _IFPDevicesEvents
Description
This component implements a collection of the fingerprint devices in the system and allows enumerating them, referencing a specific device by its serial number and monitor plug-n-play events
Methods
Device([in]BSTR serNum, [out,retval]IDispatch **ppDev)
Returns the device whose serial number is specified in serNum parameter. If the device is not connected ppDev is NULL.
Properties
Count([out,retval] int *pCount)
Returns the number of connected devices. The property is read only.
Item([in] int devNum, [out,retval] IDispatch **ppDev)
The standard Item property for the collections. The values for the devNum parameter start from 1. The property is read-only.
_NewEnum([out, retval] IUnknown **ppunkEnum)
The standard _NewEnum property for the collections. It returns a pointer to an IEnumVARIANT interface. The property is read-only.
Event methods
DeviceConnected([in] BSTR serNum)
A new fingerprint device has been connected and its serial number is serNum.
DeviceDisconnected([in] BSTR serNum)
The device whose serial number is serNum has been disconnected.
Return codes
None
Libraries
DpSdkEng.dll
Es decir como uso esos métodos y eventos, debo registrar la dll? y como? accesos a esos metodos. Gracias.
Valora esta pregunta


0