Ejemplo n.º 1
0
        private bool initDriver(string Serial)
        {
            bool Result = false;

            REPZPM_DLL.Handle = REPZPM_DLL.DLLREP_IniciaDriver(Serial);

            if (REPZPM_DLL.Handle == -1)
            {
                log.AddLog("Erro na inicialização do Driver");
            }
            else
            {
                Result = true;
            }

            return(Result);
        }