
4.46 new function

.text:04537790                      LogAddErrRed    proc near
.text:04537790 6A 00                                push    0
.text:04537792 B1 04                                mov     cl, 4
.text:04537794 B2 01                                mov     dl, 1
.text:04537796 E8 FD 66 FD FB                       call    LogAddErrorTxt
.text:0453779B C3                                   retn
.text:0453779B                      LogAddErrRed    endp



4.46 patched

.text:004F299F B8 B8 2A 4F 00                       mov     eax, offset _str_PORTTALK_Error_.Text  // "PORTTALK Error. Invalid driver handle"
.text:004F29A4 E8 E7 4D 04 04                       call    LogAddErrRed

.text:004F2C07 B8 A8 2C 4F 00                       mov     eax, offset _str_Uknown_error_or.Text  // "Uknown error or driver not exist"
.text:004F2C0C E8 7F 4B 04 04                       call    LogAddErrRed

.text:004F2D22 B8 3C 2E 4F 00                       mov     eax, offset _str_Driver_file_not.Text  // "Driver file not found. Please manually copy driver"
.text:004F2D27 E8 64 4A 04 04                       call    LogAddErrRed

.text:00521F5A B8 A4 2D 52 00                       mov     eax, offset _str_PortTalk_driver.Text  // "PortTalk driver not installed! Available only API access"
.text:00521F5F E8 2C 58 01 04                       call    LogAddErrRed


4.46 orig

.text:004F299F B8 B8 2A 4F 00                       mov     eax, offset _str_PORTTALK_Error_.Text  // "PORTTALK Error. Invalid driver handle"
.text:004F29A4 E8 AF 3D F4 FF                       call    @Dialogs@ShowMessage

.text:004F2C07 B8 A8 2C 4F 00                       mov     eax, offset _str_Uknown_error_or.Text  // "Uknown error or driver not exist"
.text:004F2C0C E8 47 3B F4 FF                       call    @Dialogs@ShowMessage

.text:004F2D22 B8 3C 2E 4F 00                       mov     eax, offset _str_Driver_file_not.Text  // "Driver file not found. Please manually copy driver"
.text:004F2D27 E8 2C 3A F4 FF                       call    @Dialogs@ShowMessage

.text:00521F5A B8 A4 2D 52 00                       mov     eax, offset _str_PortTalk_driver.Text  // "PortTalk driver not installed! Available only API access"
.text:00521F5F E8 F4 47 F1 FF                       call    @Dialogs@ShowMessage


