I'm trying to disable the "RFA Internal Failure" dialog. I would like to replace it with my own exception handling.
I have tried to edit my .cfg file according to section 2.8 in the configuration guide and i'm testing by removing the RFA8_MsgFile120_x64.dll file
I'm not sure what version of RFA you are using and is this 32 bit application running on 64 bit ?or it's 64 bit application. If it's 32 bit application running on 64 bit you have to change the registry to Wow6432Node according to Microsoft.
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Reuters\RFA\Default] "RFA_MESSAGEBOX_ENABLED"="False" "RFA_LOG_FILENAME"="rfa_verify.log"
You can't replace RFA Internal Failure dialog with you own exception handling. RFA has internal thread to catch unhandled exception and it usually reports the exception in pops up dialog(winndows). No configuration to disable the RFA exception handling and leave it throw to application layer. The message in the message file(RFA8_MsgFile120_x64.dll) is for RFA internal component logger message.
However we have RFA configuration for turn off the message box pops up for internal RFA errors. You can set RFA_MESSAGEBOX_ENABLED to false in the windows registry under section
RFA still generate RFA Internal Failure log under temp directly but no pops up. See below details the configuration from RFA Configuration Guide.
I have tested below config with my registry and it work correctly. No pop up shows and it save the log in file specified in RFA_LOG_FILENAME under running directory instead.
[HKEY_LOCAL_MACHINE\SOFTWARE\Reuters\RFA\Default] "RFA_MESSAGEBOX_ENABLED" = "False" "RFA_LOG_FILENAME" = "rfa_verify.log"