diff --git a/LectorVerdnatura/NewSDK/CopyAndRegister.bat b/LectorVerdnatura/NewSDK/CopyAndRegister.bat new file mode 100644 index 0000000..ccc04a3 --- /dev/null +++ b/LectorVerdnatura/NewSDK/CopyAndRegister.bat @@ -0,0 +1,10 @@ +cd /d %~dp0 +if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" ( + echo system is x86 + copy .\*.dll %windir%\system32\ + regsvr32 /s /c %windir%\system32\zkemkeeper.dll + ) else ( + echo system is x64 + copy .\*.dll %windir%\SysWOW64\ + regsvr32 /s /c %windir%\SysWOW64\zkemkeeper.dll + ) diff --git a/LectorVerdnatura/NewSDK/Delete_SDK.bat b/LectorVerdnatura/NewSDK/Delete_SDK.bat new file mode 100644 index 0000000..d940e0f --- /dev/null +++ b/LectorVerdnatura/NewSDK/Delete_SDK.bat @@ -0,0 +1,35 @@ +cd /d %~dp0 +if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" ( + echo system is x86 + regsvr32 %windir%\system32\zkemkeeper.dll -u + del %windir%\system32\commpro.dll + del %windir%\system32\comms.dll + del %windir%\system32\rscagent.dll + del %windir%\system32\rscomm.dll + del %windir%\system32\tcpcomm.dll + del %windir%\system32\usbcomm.dll + del %windir%\system32\zkemkeeper.dll + del %windir%\system32\zkemsdk.dll + del %windir%\system32\plcommpro.dll + del %windir%\system32\plcomms.dll + del %windir%\system32\plrscagent.dll + del %windir%\system32\plrscomm.dll + del %windir%\system32\pltcpcomm.dll + ) else ( + echo system is x64 + regsvr32 %windir%\SysWOW64\zkemkeeper.dll -u + del %windir%\SysWOW64\commpro.dll + del %windir%\SysWOW64\comms.dll + del %windir%\SysWOW64\rscagent.dll + del %windir%\SysWOW64\rscomm.dll + del %windir%\SysWOW64\tcpcomm.dll + del %windir%\SysWOW64\usbcomm.dll + del %windir%\SysWOW64\zkemkeeper.dll + del %windir%\SysWOW64\zkemsdk.dll + del %windir%\SysWOW64\plcommpro.dll + del %windir%\SysWOW64\plcomms.dll + del %windir%\SysWOW64\plrscagent.dll + del %windir%\SysWOW64\plrscomm.dll + del %windir%\SysWOW64\pltcpcomm.dll + ) +pause \ No newline at end of file diff --git a/LectorVerdnatura/NewSDK/IOTCAPIs.dll b/LectorVerdnatura/NewSDK/IOTCAPIs.dll new file mode 100644 index 0000000..f387b24 Binary files /dev/null and b/LectorVerdnatura/NewSDK/IOTCAPIs.dll differ diff --git a/LectorVerdnatura/NewSDK/RDTAPIs.dll b/LectorVerdnatura/NewSDK/RDTAPIs.dll new file mode 100644 index 0000000..e886098 Binary files /dev/null and b/LectorVerdnatura/NewSDK/RDTAPIs.dll differ diff --git a/LectorVerdnatura/NewSDK/Register_SDK.bat b/LectorVerdnatura/NewSDK/Register_SDK.bat new file mode 100644 index 0000000..78bbc36 --- /dev/null +++ b/LectorVerdnatura/NewSDK/Register_SDK.bat @@ -0,0 +1,11 @@ +cd /d %~dp0 +if /i "%PROCESSOR_IDENTIFIER:~0,3%"=="X86" ( + echo system is x86 + copy .\*.dll %windir%\system32\ + regsvr32 %windir%\system32\zkemkeeper.dll + ) else ( + echo system is x64 + copy .\*.dll %windir%\SysWOW64\ + regsvr32 %windir%\SysWOW64\zkemkeeper.dll + ) +pause \ No newline at end of file diff --git a/LectorVerdnatura/NewSDK/commpro.dll b/LectorVerdnatura/NewSDK/commpro.dll new file mode 100644 index 0000000..f02a41c Binary files /dev/null and b/LectorVerdnatura/NewSDK/commpro.dll differ diff --git a/LectorVerdnatura/NewSDK/comms.dll b/LectorVerdnatura/NewSDK/comms.dll new file mode 100644 index 0000000..2832d45 Binary files /dev/null and b/LectorVerdnatura/NewSDK/comms.dll differ diff --git a/LectorVerdnatura/NewSDK/p4p.dll b/LectorVerdnatura/NewSDK/p4p.dll new file mode 100644 index 0000000..90246bd Binary files /dev/null and b/LectorVerdnatura/NewSDK/p4p.dll differ diff --git a/LectorVerdnatura/NewSDK/p4pcomm.dll b/LectorVerdnatura/NewSDK/p4pcomm.dll new file mode 100644 index 0000000..804cd45 Binary files /dev/null and b/LectorVerdnatura/NewSDK/p4pcomm.dll differ diff --git a/LectorVerdnatura/NewSDK/plcommpro.dll b/LectorVerdnatura/NewSDK/plcommpro.dll new file mode 100644 index 0000000..331c63e Binary files /dev/null and b/LectorVerdnatura/NewSDK/plcommpro.dll differ diff --git a/LectorVerdnatura/NewSDK/plcomms.dll b/LectorVerdnatura/NewSDK/plcomms.dll new file mode 100644 index 0000000..5da3190 Binary files /dev/null and b/LectorVerdnatura/NewSDK/plcomms.dll differ diff --git a/LectorVerdnatura/NewSDK/plrscagent.dll b/LectorVerdnatura/NewSDK/plrscagent.dll new file mode 100644 index 0000000..392a769 Binary files /dev/null and b/LectorVerdnatura/NewSDK/plrscagent.dll differ diff --git a/LectorVerdnatura/NewSDK/plrscomm.dll b/LectorVerdnatura/NewSDK/plrscomm.dll new file mode 100644 index 0000000..2de5d79 Binary files /dev/null and b/LectorVerdnatura/NewSDK/plrscomm.dll differ diff --git a/LectorVerdnatura/NewSDK/pltcpcomm.dll b/LectorVerdnatura/NewSDK/pltcpcomm.dll new file mode 100644 index 0000000..271ed3f Binary files /dev/null and b/LectorVerdnatura/NewSDK/pltcpcomm.dll differ diff --git a/LectorVerdnatura/NewSDK/plusbcomm.dll b/LectorVerdnatura/NewSDK/plusbcomm.dll new file mode 100644 index 0000000..ee2f13b Binary files /dev/null and b/LectorVerdnatura/NewSDK/plusbcomm.dll differ diff --git a/LectorVerdnatura/NewSDK/rscagent.dll b/LectorVerdnatura/NewSDK/rscagent.dll new file mode 100644 index 0000000..d08fd26 Binary files /dev/null and b/LectorVerdnatura/NewSDK/rscagent.dll differ diff --git a/LectorVerdnatura/NewSDK/rscomm.dll b/LectorVerdnatura/NewSDK/rscomm.dll new file mode 100644 index 0000000..d6d4832 Binary files /dev/null and b/LectorVerdnatura/NewSDK/rscomm.dll differ diff --git a/LectorVerdnatura/NewSDK/tcpcomm.dll b/LectorVerdnatura/NewSDK/tcpcomm.dll new file mode 100644 index 0000000..761666a Binary files /dev/null and b/LectorVerdnatura/NewSDK/tcpcomm.dll differ diff --git a/LectorVerdnatura/NewSDK/usbcomm.dll b/LectorVerdnatura/NewSDK/usbcomm.dll new file mode 100644 index 0000000..0ae79e9 Binary files /dev/null and b/LectorVerdnatura/NewSDK/usbcomm.dll differ diff --git a/LectorVerdnatura/NewSDK/usbstd.dll b/LectorVerdnatura/NewSDK/usbstd.dll new file mode 100644 index 0000000..ebc48e9 Binary files /dev/null and b/LectorVerdnatura/NewSDK/usbstd.dll differ diff --git a/LectorVerdnatura/NewSDK/zkemkeeper.dll b/LectorVerdnatura/NewSDK/zkemkeeper.dll new file mode 100644 index 0000000..bf6f523 Binary files /dev/null and b/LectorVerdnatura/NewSDK/zkemkeeper.dll differ diff --git a/LectorVerdnatura/NewSDK/zkemsdk.dll b/LectorVerdnatura/NewSDK/zkemsdk.dll new file mode 100644 index 0000000..8ac8f12 Binary files /dev/null and b/LectorVerdnatura/NewSDK/zkemsdk.dll differ diff --git a/LectorVerdnatura/SDK DLL/commpro.dll b/LectorVerdnatura/OldSDK DLL/commpro.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/commpro.dll rename to LectorVerdnatura/OldSDK DLL/commpro.dll diff --git a/LectorVerdnatura/SDK DLL/comms.dll b/LectorVerdnatura/OldSDK DLL/comms.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/comms.dll rename to LectorVerdnatura/OldSDK DLL/comms.dll diff --git a/LectorVerdnatura/SDK DLL/plcommpro.dll b/LectorVerdnatura/OldSDK DLL/plcommpro.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/plcommpro.dll rename to LectorVerdnatura/OldSDK DLL/plcommpro.dll diff --git a/LectorVerdnatura/SDK DLL/plcomms.dll b/LectorVerdnatura/OldSDK DLL/plcomms.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/plcomms.dll rename to LectorVerdnatura/OldSDK DLL/plcomms.dll diff --git a/LectorVerdnatura/SDK DLL/plrscagent.dll b/LectorVerdnatura/OldSDK DLL/plrscagent.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/plrscagent.dll rename to LectorVerdnatura/OldSDK DLL/plrscagent.dll diff --git a/LectorVerdnatura/SDK DLL/plrscomm.dll b/LectorVerdnatura/OldSDK DLL/plrscomm.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/plrscomm.dll rename to LectorVerdnatura/OldSDK DLL/plrscomm.dll diff --git a/LectorVerdnatura/SDK DLL/pltcpcomm.dll b/LectorVerdnatura/OldSDK DLL/pltcpcomm.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/pltcpcomm.dll rename to LectorVerdnatura/OldSDK DLL/pltcpcomm.dll diff --git a/LectorVerdnatura/SDK DLL/register_dll.bat b/LectorVerdnatura/OldSDK DLL/register_dll.bat similarity index 54% rename from LectorVerdnatura/SDK DLL/register_dll.bat rename to LectorVerdnatura/OldSDK DLL/register_dll.bat index 0a17711..3cf9660 100644 --- a/LectorVerdnatura/SDK DLL/register_dll.bat +++ b/LectorVerdnatura/OldSDK DLL/register_dll.bat @@ -4,10 +4,16 @@ echo. echo. Instalacion librerias SDK para Fichador con Lector de huellas... echo. echo. +echo AVISO: La aplicacion funciona bien con estas librerias, pero +echo NO SE DEBE INSTALAR EN EL MISMO EQUIPO LA APLICACION ZKAccess +echo ZKAccess lleva otras librerias/SDK y causa conflictos: problemas de sincronizacion!!!! +echo. +echo Es facil que sea mejor instalar el ultimo SDK +echo. echo. echo Recordatorio: ¿Estas ejecutando este archivo como Administrador? echo. -echo Recuerda copiar tu mismo estas librerias a c:\windows\system\... +echo Recuerda copiar tu mismo estas librerias a c:\windows\system32\... echo (No funciona en c:\windows\system32\ ni creo que en otras carpetas) echo. diff --git a/LectorVerdnatura/SDK DLL/rscagent.dll b/LectorVerdnatura/OldSDK DLL/rscagent.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/rscagent.dll rename to LectorVerdnatura/OldSDK DLL/rscagent.dll diff --git a/LectorVerdnatura/SDK DLL/rscomm.dll b/LectorVerdnatura/OldSDK DLL/rscomm.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/rscomm.dll rename to LectorVerdnatura/OldSDK DLL/rscomm.dll diff --git a/LectorVerdnatura/SDK DLL/tcpcomm.dll b/LectorVerdnatura/OldSDK DLL/tcpcomm.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/tcpcomm.dll rename to LectorVerdnatura/OldSDK DLL/tcpcomm.dll diff --git a/LectorVerdnatura/SDK DLL/usbcomm.dll b/LectorVerdnatura/OldSDK DLL/usbcomm.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/usbcomm.dll rename to LectorVerdnatura/OldSDK DLL/usbcomm.dll diff --git a/LectorVerdnatura/SDK DLL/zkemkeeper.dll b/LectorVerdnatura/OldSDK DLL/zkemkeeper.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/zkemkeeper.dll rename to LectorVerdnatura/OldSDK DLL/zkemkeeper.dll diff --git a/LectorVerdnatura/SDK DLL/zkemsdk.dll b/LectorVerdnatura/OldSDK DLL/zkemsdk.dll similarity index 100% rename from LectorVerdnatura/SDK DLL/zkemsdk.dll rename to LectorVerdnatura/OldSDK DLL/zkemsdk.dll diff --git a/README.md b/README.md index e80d99d..083d143 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,16 @@ -Documentacion de instalacion: +Existen dos versiones de librerias/SDK: + +\Old SDK DLL\ La aplicacion esta probada que funciona con estas +\NewSDK\ Las usadas por ZKAccess 3.5 que deben ser mejores pero no testeadas + +*** Si ambas librerias estan instaladas a la vez pueden surgir conflictos de sincronizacion y corrupcion de datos *** +Especialmente si la instalacion manual instala las antiguas DLL en una carpeta de DLLs de mayor prioridad de busqueda +que las nuevas DLL. + +En algun momento se deberia probar el nuevo SDK y olvidar el viejo. + + +Documentacion de instalacion del antiguo SDK: https://www.zkteco.eu/index.php/faq-category/sdk/registering-sdk =================================================================================================================