llamar funciones de DLL

llamar funciones de DLL

Postby Marcelo Via Giglio » Wed Jan 29, 2020 7:13 pm

Buenas Tardes,

necesito acceder a una DLL, pero no funcionan las llamadas a las funciones ni la importacion del la LIB con implib.exe de Borland, con un inspector de DLL, las funciones se muestran con esta estructura:

Function Name Address Relative Address Ordinal Filename Full Path Type

IZKEM::CardNumber 83 (0x53) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Property
IZKEM::ClearAdministrators 3 (0x3) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearData 135 (0x87) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearDataEx 252 (0xfc) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearGLog 36 (0x24) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearKeeperData 30 (0x1e) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearLCD 96 (0x60) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearPhotoByTime 250 (0xfa) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearSLog 109 (0x6d) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearSMS 115 (0x73) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method
IZKEM::ClearUserSMS 122 (0x7a) zkemkeeper.dll D:\b\biometricos\zkemkeeper.dll COM Method

Parece que lo que tiene son objetos y no funciones, saben como puedo acceder a estas funciones , metodos desde FW + xHb

Saludos

Marcelo Vía
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Antonio Linares » Thu Jan 30, 2020 5:30 am

Marcelo,

Tienes que usar OLE:

viewtopic.php?p=226365#p226365
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Thu Jan 30, 2020 11:20 am

Antonio,

gracias por responder, eso significa que de alguna manera debo registrar la DLL para que la utilice con OLE ??

gracias por la ayuda

saludos cordiales

Marcelo Vía

P.D. Antonio, recuerdo que tu hiciste algun inspector de objetos COM, creo que te permitia visualizar los componentes y sus propiedades, me puedes guiar de donde bajarlo gracias
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Thu Jan 30, 2020 1:38 pm

Holas,

he logrado la comunicacion con OLE, estoy utilizando el OLE/COM Object Viewer para ver los internals del componente,
pero no logro identificar los objetos intermedios para acceder a las funcionalidades del componente, como puedo identificar la estructura para acceder a estas funcionalidades, tengo esta informacion, alguna ayuda? gracias

https://app.box.com/s/exa6atowm30buax58x7thsk12n9vogu9


https://app.box.com/s/1jk162al7hmy44f4px2fp7iwt8v4zft0


https://app.box.com/s/zlt13v2vo240l2lefim4jrvh962smq9i
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Antonio Linares » Thu Jan 30, 2020 3:28 pm

Marcelo,

Preuba esta excelent utilidad desarrollada con FWH :-)

https://github.com/FiveTechSoft/FWH_tools/blob/master/olebrowser.zip

Todo el código fuente incluido
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Thu Jan 30, 2020 4:04 pm

Antonio,

muchas gracias, justamente eso estaba buscando

muchas gracias

saludos

Marcelo Vía
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Thu Jan 30, 2020 5:49 pm

Antonio,

una ultima consulta, como puedo recuperar los datos de una función como esta:

VARIANT_BOOL GetAllUserInfo(LONG dwMachineNumber, LONG* dwEnrollNumber, BSTR* Name, BSTR* Password, LONG* Privilege, VARIANT_BOOL* Enabled)

supongo que los parametros con "*" son por referencia, pero no logro recuperar nada, lo he implementado asi

oZk:GetAllUserInfo( 1, @dwEnrollNumber, @Name, @Password, @Privilege, @Enabled )

pero no consigo ningun valor, como se debe implementar estas llamadas

saludos

Marcelo Vía
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Antonio Linares » Fri Jan 31, 2020 8:57 am

Devuelve un valor lógico ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Fri Jan 31, 2020 11:41 am

Antonio,

si el retorno esta Ok, devuelve un valor logico, pero no logro obtener los parametros por referencia, que se puede hacer, ya que todas las funciones tienen esta estructura

gracias por la ayuda

saludos

Marcelo Vía

P.D. con la herramienta que desarrollaste (muy buena por cierto) tengo estas descripciones del componente

https://app.box.com/s/ryi0rmgxch3n3qmtfqfkg835vuk997m7
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Antonio Linares » Fri Jan 31, 2020 11:57 am

Marcelo,

Por favor imprime toda la información que te da la herramienta y ponla aquí, gracias
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Fri Jan 31, 2020 12:22 pm

Antonio,

este es el reporte de la herramienta en PDF

https://app.box.com/s/q9h87m93jevxjoec83rbazia9edzq63h

muchas gracias

Marcelo Vía
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Re: llamar funciones de DLL

Postby Antonio Linares » Sat Feb 01, 2020 7:55 am

zkemkeeper.ZKEM.1

STDCALL dispatch FUNC void QueryInterface( [in] PTR, [out] PTR )
STDCALL dispatch FUNC unsigned long AddRef()
STDCALL dispatch FUNC unsigned long Release()
STDCALL dispatch FUNC void GetTypeInfoCount( [out] PTR )
STDCALL dispatch FUNC void GetTypeInfo( [in] unsigned int, [in] unsigned long, [out] PTR )
STDCALL dispatch FUNC void GetIDsOfNames( [in] PTR, [in] PTR, [in] unsigned int, [in] unsigned long, [out] PTR )
STDCALL dispatch FUNC void Invoke( [in] int, [in] PTR, [in] unsigned long, [in] unsigned short, [in] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch PROPERTYGET VARIANT_BOOL ReadMark()
STDCALL dispatch PROPERTYPUT void ReadMark( [in] VARIANT_BOOL )
STDCALL dispatch PROPERTYGET int CommPort()
STDCALL dispatch PROPERTYPUT void CommPort( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ClearAdministrators( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL DeleteEnrollData( [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadSuperLogData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadAllSLogData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadGeneralLogData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadAllGLogData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL EnableUser( [in] int, [in] int, [in] int, [in] int, [in] VARIANT_BOOL )
STDCALL dispatch FUNC VARIANT_BOOL EnableDevice( [in] int, [in] VARIANT_BOOL )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceStatus( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceInfo( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceInfo( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceTime( [in] int )
STDCALL dispatch FUNC void PowerOnAllDevice()
STDCALL dispatch FUNC VARIANT_BOOL PowerOffDevice( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ModifyPrivilege( [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC void GetLastError( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetEnrollData( [in] int, [in] int, [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetEnrollData( [in] int, [in] int, [in] int, [in] int, [in] int, [in] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceTime( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetGeneralLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetSuperLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [in] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllSLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllGLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC void ConvertPassword( [in] int, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadAllUserID( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetAllUserID( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetSerialNumber( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearKeeperData( [in] int )
STDCALL dispatch FUNC int GetBackupNumber( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetProductCode( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetFirmwareVersion( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetSDKVersion( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearGLog( [in] int )
STDCALL dispatch FUNC int GetFPTempLength( [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL Connect_Com( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL Connect_Net( [in] BSTR, [in] int )
STDCALL dispatch FUNC void Disconnect()
STDCALL dispatch FUNC VARIANT_BOOL SetUserInfo( [in] int, [in] int, [in] BSTR, [in] BSTR, [in] int, [in] VARIANT_BOOL )
STDCALL dispatch FUNC VARIANT_BOOL GetUserInfo( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceIP( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceIP( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTmp( [in] int, [in] int, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTmp( [in] int, [in] int, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllUserInfo( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL DelUserTmp( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL RefreshData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL FPTempConvert( [in] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetCommPassword( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserGroup( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserGroup( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetTZInfo( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetTZInfo( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUnlockGroups( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUnlockGroups( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetGroupTZs( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetGroupTZs( [in] int, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTZs( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTZs( [in] int, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ACUnlock( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetACFun( [out] PTR )
STDCALL dispatch PROPERTYGET int ConvertBIG5()
STDCALL dispatch PROPERTYPUT void ConvertBIG5( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetGeneralLogDataStr( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTmpStr( [in] int, [in] int, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTmpStr( [in] int, [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetEnrollDataStr( [in] int, [in] int, [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetEnrollDataStr( [in] int, [in] int, [in] int, [in] int, [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetGroupTZStr( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetGroupTZStr( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTZStr( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTZStr( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL FPTempConvertStr( [in] BSTR, [out] PTR, [in] PTR )
STDCALL dispatch FUNC int GetFPTempLengthStr( [in] BSTR )
STDCALL dispatch PROPERTYGET int BASE64()
STDCALL dispatch PROPERTYPUT void BASE64( [in] int )
STDCALL dispatch PROPERTYGET unsigned long PIN2()
STDCALL dispatch PROPERTYPUT void PIN2( [in] unsigned long )
STDCALL dispatch PROPERTYGET int AccGroup()
STDCALL dispatch PROPERTYPUT void AccGroup( [in] int )
STDCALL dispatch PROPERTYGET int AccTimeZones( [in] int )
STDCALL dispatch PROPERTYPUT void AccTimeZones( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserInfoByPIN2( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserInfoByCard( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch PROPERTYGET int CardNumber( [in] int )
STDCALL dispatch PROPERTYPUT void CardNumber( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL CaptureImage( [in] VARIANT_BOOL, [out] PTR, [out] PTR, [out] PTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UpdateFirmware( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL StartEnroll( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL StartVerify( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL StartIdentify()
STDCALL dispatch FUNC VARIANT_BOOL CancelOperation()
STDCALL dispatch FUNC VARIANT_BOOL QueryState( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL BackupData( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL RestoreData( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL WriteLCD( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearLCD()
STDCALL dispatch FUNC VARIANT_BOOL Beep( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL PlayVoice( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL PlayVoiceByIndex( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL EnableClock( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserIDByPIN2( [in] int, [out] PTR )
STDCALL dispatch PROPERTYGET int PINWidth()
STDCALL dispatch FUNC VARIANT_BOOL GetPIN2( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL FPTempConvertNew( [in] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL FPTempConvertNewStr( [in] BSTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadAllTemplate( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL DisableDeviceWithTimeOut( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceTime2( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ClearSLog( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL RestartDevice( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceMAC( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceMAC( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetWiegandFmt( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetWiegandFmt( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearSMS( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetSMS( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetSMS( [in] int, [in] int, [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteSMS( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetUserSMS( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL DeleteUserSMS( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetCardFun( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearUserSMS( [in] int )
STDCALL dispatch PROPERTYGET int MachineNumber()
STDCALL dispatch PROPERTYPUT void MachineNumber( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceCommPwd( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetDoorState( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetVendor( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetSensorSN( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadCustData( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL WriteCustData( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL BeginBatchUpdate( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL BatchUpdate( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ClearData( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetDataFile( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL WriteCard( [in] int, [in] int, [in] int, [in] PTR, [in] int, [in] PTR, [in] int, [in] PTR, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetGeneralExtLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL EmptyCard( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceStrInfo( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetSysOption( [in] int, [in] BSTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserInfoEx( [in] int, [in] int, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserInfoEx( [in] int, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteUserInfoEx( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetGeneralLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetAllUserInfo( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetUserInfo( [in] int, [in] BSTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetUserTmp( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetUserTmpStr( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteEnrollData( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUserInfo( [in] int, [in] BSTR, [in] BSTR, [in] BSTR, [in] int, [in] VARIANT_BOOL )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUserTmp( [in] int, [in] BSTR, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUserTmpStr( [in] int, [in] BSTR, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DelUserTmp( [in] int, [in] BSTR, [in] int )
STDCALL dispatch PROPERTYGET BSTR STR_CardNumber( [in] int )
STDCALL dispatch PROPERTYPUT void STR_CardNumber( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetWorkCode( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetWorkCode( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteWorkCode( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ClearWorkCode()
STDCALL dispatch FUNC VARIANT_BOOL ReadAttRule( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadDPTInfo( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SaveTheDataToFile( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadTurnInfo( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_OutPutHTMLRep( [in] int, [in] BSTR, [in] BSTR, [in] BSTR, [in] BSTR, [in] BSTR, [in] BSTR, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] BSTR, [in] BSTR, [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadAOptions( [in] BSTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadRTLog( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetRTLog( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetHIDEventCardNumAsStr( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetStrCardNumber( [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetStrCardNumber( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL RegEvent( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL CancelBatchUpdate( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetSysOption( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL Connect_Modem( [in] int, [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UseGroupTimeZone()
STDCALL dispatch FUNC VARIANT_BOOL SetHoliday( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetHoliday( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetDaylight( [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDaylight( [in] int, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUnLockGroup( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetUnLockGroup( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetGroupTZ( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetGroupTZ( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetHoliday( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetHoliday( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetPlatform( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUserSMS( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteUserSMS( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL IsTFTMachine( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_EnableUser( [in] int, [in] BSTR, [in] VARIANT_BOOL )
STDCALL dispatch PROPERTYGET int SSRPin()
STDCALL dispatch FUNC VARIANT_BOOL SendCMDMsg( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SendFile( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetLanguageByID( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadFile( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetLastCount( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetCustomizeAttState( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL DelCustomizeAttState( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL EnableCustomizeAttState( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetCustomizeVoice( [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DelCustomizeVoice( [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL EnableCustomizeVoice( [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL StartEnrollEx( [in] BSTR, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetUserTmpExt( [in] int, [in] int, [in] BSTR, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DelUserTmpExt( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteEnrollDataExt( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetWorkCode( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetWorkCode( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteWorkCode( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_ClearWorkCode()
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetSuperLogData( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetShortkey( [in] int, [in] int, [in] int, [in] BSTR, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetShortkey( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL Connect_USB( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetSuperLogData2( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserFace( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserFace( [in] int, [in] BSTR, [in] int, [in] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL DelUserFace( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserFaceStr( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserFaceStr( [in] int, [in] BSTR, [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTmpEx( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserTmpExStr( [in] int, [in] BSTR, [in] int, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTmpEx( [in] int, [in] BSTR, [in] int, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserTmpExStr( [in] int, [in] BSTR, [in] int, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL MergeTemplate( [out] PTR, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SplitTemplate( [in] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch PROPERTYGET int PullMode()
STDCALL dispatch PROPERTYPUT void PullMode( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ReadUserAllTemplate( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UpdateFile( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadLastestLogData( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetOptionCommPwd( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadSuperLogDataEx( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetSuperLogDataEx( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetPhotoByName( [in] int, [in] BSTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetPhotoNamesByTime( [in] int, [in] int, [in] BSTR, [in] BSTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ClearPhotoByTime( [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetPhotoCount( [in] int, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL ClearDataEx( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDataFileEx( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetDeviceData( [in] int, [in] BSTR, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetDeviceData( [in] int, [out] PTR, [in] int, [in] BSTR, [in] BSTR, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UpdateLogo( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetCommuTimeOut( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SendFileByType( [in] int, [in] BSTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetCommProType( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetCompatOldFirmware( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL Connect_P4P( [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetDeviceTableData( [in] int, [in] BSTR, [in] BSTR, [in] BSTR, [out] PTR )
STDCALL dispatch FUNC void GetConnectStatus( [out] PTR )
STDCALL dispatch PROPERTYGET int MaxP4PConnect()
STDCALL dispatch FUNC VARIANT_BOOL SetManufacturerData( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC int GetDeviceStatusEx( [in] int )
STDCALL dispatch FUNC void CancelByUser()
STDCALL dispatch FUNC int SSR_GetDeviceDataCount( [in] BSTR, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteDeviceData( [in] int, [in] BSTR, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadTimeGLogData( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteAttlogBetweenTheDate( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteAttlogByTime( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadNewGLogData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL IsNewFirmwareMachine( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL UploadUserPhoto( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DownloadUserPhoto( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeleteUserPhoto( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllUserPhoto( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SetBellSchDataEx( [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetBellSchDataEx( [in] int, [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDayBellSchCount( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetMaxBellIDInBellSchData( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL ReadAllBellSchData( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetEachBellInfo( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserValidDate( [in] int, [in] BSTR, [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserValidDate( [in] int, [in] BSTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserValidDateBatch( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserValidDateBatch( [in] int, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetUserVerifyStyle( [in] int, [in] BSTR, [in] int, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserVerifyStyle( [in] int, [in] BSTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetUserVerifyStyleBatch( [in] int, [in] BSTR, [in] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetUserVerifyStyleBatch( [in] int, [out] PTR, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetDeviceFirmwareVersion( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SendFileEx( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UploadTheme( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL UploadPicture( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeletePicture( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DownloadPicture( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL TurnOffAlarm( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL CloseAlarm( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetWorkCodeEx( [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetWorkCodeEx( [in] int, [in] BSTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_DeleteWorkCodeEx( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetGeneralLogDataEx( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_SetWorkCodeExBatch( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetWorkCodeExBatch( [in] int, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetWorkCodeExByID( [in] int, [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SSR_GetWorkCodeIDByName( [in] int, [in] BSTR, [out] PTR )
STDCALL dispatch PROPERTYGET int BatchDataMode()
STDCALL dispatch PROPERTYPUT void BatchDataMode( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetEventMode( [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetAllSFIDName( [in] int, [out] PTR, [in] int, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetShortkey( [in] int, [in] int, [in] BSTR, [in] BSTR, [in] int, [in] int, [in] BSTR, [in] BSTR, [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetShortkey( [in] int, [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllAppFun( [in] int, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAllRole( [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetAppOfRole( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL GetFunOfRole( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SetPermOfAppFun( [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL DeletePermOfAppFun( [in] int, [in] int, [in] BSTR, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL IsUserDefRoleEnable( [in] int, [in] int, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL SearchDevice( [in] BSTR, [in] BSTR, [out] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL SetUserIDCardInfo( [in] int, [in] BSTR, [in] PTR, [in] int )
STDCALL dispatch FUNC VARIANT_BOOL GetUserIDCardInfo( [in] int, [in] BSTR, [out] PTR, [out] PTR )
STDCALL dispatch FUNC VARIANT_BOOL DelUserIDCardInfo( [in] int, [in] BSTR )
STDCALL dispatch FUNC VARIANT_BOOL GetPhotoByNameToFile( [in] int, [in] BSTR, [in] BSTR )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Antonio Linares » Sat Feb 01, 2020 7:56 am

Marcelo,

De todas esas, has conseguido que te funcione alguna ? :-)

Cuales ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Antonio Linares » Sat Feb 01, 2020 8:00 am

Parece que nuestra utilidad no muestra la lista de eventos
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: llamar funciones de DLL

Postby Marcelo Via Giglio » Mon Feb 03, 2020 12:00 am

Antonio,

he conseguido que funcionen las funcionres

SetCommPassword( [in] int )
Connect_Net( [in] BSTR, [in] int )

que es el proceso de conexión

Luego para conseguir la información se utiliza esta función

GetAllUserInfo( [in] int, [out] PTR, [out] PTR, [out] PTR, [out] PTR, [out] PTR )

Que interesantemente cicla por toda la información, solo que no recupero nada, por que los parametros por referencia [out] no devuelven nada, los parametros [in] los que utilice funcionan correctamente

Gracias por el interes y ayuda

saludos

Marcelo Vía
Marcelo Via Giglio
 
Posts: 1071
Joined: Fri Oct 07, 2005 3:33 pm
Location: Cochabamba - Bolivia

Next

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests