Marius2
21-Nov-2008, 02:05 PM
In program source i want to use the following:
CurrentEurekaLogOptions.ErrorsNumberToSave := Maxint;
if FindCmdLineSwitch('memcheck')
then CurrentEurekaLogOptions.LeaksOptions := [loCatchLeaks, loGroupsSonLeaks, loHideBorlandLeaks, loCatchLeaksExceptions]
else CurrentEurekaLogOptions.LeaksOptions := [];
CurrentEurekaLogOptions.ExceptionDialogType := edtEurekaLog;
CurrentEurekaLogOptions.OutputPath := ExtractFilePath(ParamStr(0)) + VersionRecord.FileVersion + '.Elf'
But i cannot set the LeaksOptions at runtime because it is readonly. Nothing big (already solved locally). Could you please make this option writeable in the next version?
Thank you,
Marius
CurrentEurekaLogOptions.ErrorsNumberToSave := Maxint;
if FindCmdLineSwitch('memcheck')
then CurrentEurekaLogOptions.LeaksOptions := [loCatchLeaks, loGroupsSonLeaks, loHideBorlandLeaks, loCatchLeaksExceptions]
else CurrentEurekaLogOptions.LeaksOptions := [];
CurrentEurekaLogOptions.ExceptionDialogType := edtEurekaLog;
CurrentEurekaLogOptions.OutputPath := ExtractFilePath(ParamStr(0)) + VersionRecord.FileVersion + '.Elf'
But i cannot set the LeaksOptions at runtime because it is readonly. Nothing big (already solved locally). Could you please make this option writeable in the next version?
Thank you,
Marius