PDA

View Full Version : Set CustomizedTexts


tutko
12-Mar-2008, 07:42 AM
Hi

I have several dynamic DLLs, and I have an ErrorBox procedure, where I call StandardEurekaNotify.
In the ExceptionNotify or ExceptionActionNotify (EurekaAction = atShowingExceptionInfo) I set the EurekaExceptionRecord.CurrentModuleOptions.Customi zedTexts[mtMSDialog_ErrorMsgCaption] or CurrentEurekaLogOptions.CustomizedTexts[mtMSDialog_ErrorMsgCaption], but by showing the Dialog I see always the original Text.
Perhaps CurrentOptions (in ExceptionLog.pas) have at this moment something other values...

By some right exception I can set the value from CustomizedTexts.

Can you help me?

admin
13-Mar-2008, 07:40 AM
Hi,

probably in your DLLs EurekaLog options you leave checked the "Advanced Options/Use Main Module Options" so every your DLL use the main module EurekaLog options and you are changing the DLL options.

I suggest you to try to use the following code to change the Main Module options or simply to remove the previous option (but so you must set every DLL options)


EurekaExceptionRecord.ModulesList[0]^.ExtraInformation.Options.CustomizedTexts[mtMSDialog_ErrorMsgCaption] := 'New caption';