Root > Compatibility > 6.x -> 7.x

6.x -> 7.x

Previous pageReturn to chapter overviewNext page   

Please see our upgrade guide.

 

These are the changes from the old 6.x version to the new 7.x version:

 

1. Old ExceptionLog unit is renamed to new ExceptionLog7 unit. You should replace references to ExceptionLog unit with references to ExceptionLog7 unit.
2. TEurekaLog component was renamed to TEurekaLogEvents component. It is located in EComponent unit. You should delete all TEurekaLog components and create new TEurekaLogEvents component.
3. Code from ExceptionLog unit was moved to other units (see below):
GetCurrentCallStack
GetCallStackByLevels
GetCallStackByAddresses
TEurekaModuleOptions
GetSourceInfoByAddr
GetCompilationDate
IsEurekaLogModule
GetEurekaLogModuleVersion
ModuleInfoByHandle
ModuleInfoByAddr
EurekaLogSendEmail
TEmailSendMode
TWebSendMode
TExceptionDialogType
TEurekaActionType
esmNoSend
esmShellClient
esmEmailClient
esmSMTPServer
esmSMTPClient
wsmNoSend
wsmHTTP
wsmFTP
wsmBugZilla
wsmFogBugz
wsmMantis
edtNone
edtMessageBox
edtMSClassic
edtEurekaLog
4. Some code was removed or changed considerably. You should use new alternatives instead:
1. TEurekaExceptionRecord -> TEurekaExceptionInfo
2. TEurekaExceptionRecord.CurrentModuleOptions -> TEurekaExceptionInfo.Options
3. TEurekaLogErrorCode -> TResponse
4. TExceptionNotifyProc -> TELEvExceptionNotifyProc
5. TExceptionActionProc -> TELEvExceptionActionProc
6. TExceptionErrorProc -> TELEvExceptionErrorProc
7. TPasswordRequestProc -> TELEvPasswordRequestProc
8. TCustomDataRequestProc -> TELEvCustomDataRequestProc
9. TAttachedFilesRequestProc -> TELEvAttachedFilesRequestProc
10. TCustomWebFieldsRequestProc -> TELEvCustomWebFieldsRequestProc
11. TCustomButtonClickProc -> TELEvCustomButtonClickProc
12. TExceptionNotify -> TELEvExceptionNotifyMeth
13. TExceptionActionNotify -> TELEvExceptionActionMeth
14. TExceptionErrorNotify -> TELEvExceptionErrorMeth
15. TPasswordRequestNotify -> TELEvPasswordRequestMeth
16. TCustomDataRequestNotify -> TELEvCustomDataRequestMeth
17. TAttachedFilesRequestNotify -> TELEvAttachedFilesRequestMeth
18. TCustomWebFieldsRequestNotify -> TELEvCustomWebFieldsRequestMeth
19. TCustomButtonClickNotify -> TELEvCustomButtonClickMeth
20. ExceptionNotify-> RegisterEventExceptionNotify
21. HandledExceptionNotify -> RegisterEventExceptionNotify
22. ExceptionActionNotify -> RegisterEventExceptionAction
23. ExceptionErrorNotify -> RegisterEventExceptionError
24. PasswordRequest -> RegisterEventPasswordRequest
25. CustomDataRequest -> RegisterEventCustomDataRequest
26. AttachedFilesRequest -> RegisterEventAttachedFilesRequest
27. CustomWebFieldsRequest -> RegisterEventCustomWebFieldsRequest
28. CustomButtonClickNotify -> RegisterEventCustomButtonClick
29. StandardEurekaNotify -> ExceptionManager.StandardEurekaNotify
30. ShowLastExceptionData -> ExceptionManager.ShowLastExceptionData
31. GetLastExceptionAddress -> ExceptionManager.LastThreadException.Address
33. StandardEurekaError -> ExceptionManager.StandardEurekaError
34. ForceApplicationTermination -> use dialog properties in CurrentEurekaLogOptions or .Options property of dialog class
35. GetLastEurekaLogErrorCode -> TResponse
36. GetLastEurekaLogErrorMsg -> TResponse
37. GetLastExceptionCallStack -> ExceptionManager.LastThreadException.CallStack
38. CallStackToStrings -> use Strings.Assign(CallStack)
39. SetCustomErrorMessage -> use properties of ExceptionManager.LastThreadException
40. SaveScreenshot -> Screenshot (EScreenshot unit)
41. TEurekaModuleOptions.GetCustomizedTexts/SetCustomizedTexts are replaced with .CustomizedTexts property.
42. TEurekaModuleOptions.loSaveModulesAndProcessesSections -> TEurekaModuleOptions.loSaveModulesSection and .loSaveProcessesSection
43. TEurekaModuleOptions.sndSendScreenshot -> TEurekaModuleOptions.sndScreenshot
44. TEurekaModuleOptions.sndShowSuccessFailureMsg -> TEurekaModuleOptions.sndShowSuccessMsg and .sndShowFailureMsg
45. TEurekaModuleOptions.sndUseOnlyActiveWindow -> TEurekaModuleOptions.sndScreenshot
46. TEurekaModuleOptions.AppendLogs -> TEurekaModuleOptions.SendXYZAppendLogs
47. TEurekaModuleOptions.EMailAddresses -> TEurekaModuleOptions.SendXYZTarget
48. TEurekaModuleOptions.EMailMessage -> TEurekaModuleOptions.SendXYZMessage
49. TEurekaModuleOptions.EMailSendMode -> TEurekaModuleOptions.SenderClasses
50. TEurekaModuleOptions.EMailSubject -> TEurekaModuleOptions.SendXYZSubject
51. TEurekaModuleOptions.ProxyPassword -> TEurekaModuleOptions.SendXYZProxyPassword
52. TEurekaModuleOptions.ProxyPort -> TEurekaModuleOptions.SendXYZProxyPort
53. TEurekaModuleOptions.ProxyURL -> TEurekaModuleOptions.SendXYZAProxyURL
54. TEurekaModuleOptions.ProxyUserID -> TEurekaModuleOptions.SendXYZProxyUserID
55. TEurekaModuleOptions.SMTPFrom -> TEurekaModuleOptions.SendXYZFrom
56. TEurekaModuleOptions.SMTPHost -> TEurekaModuleOptions.SendXYZHost
57. TEurekaModuleOptions.SMTPPassword -> TEurekaModuleOptions.SendXYZPassword
58. TEurekaModuleOptions.SMTPPort -> TEurekaModuleOptions.SendXYZPort
59. TEurekaModuleOptions.SMTPServerPort -> TEurekaModuleOptions.SendXYZPort
60. TEurekaModuleOptions.SMTPUserID -> TEurekaModuleOptions.SendXYZLogin
61. TEurekaModuleOptions.TrakerAssignTo -> TEurekaModuleOptions.SendXYZAssignTo
62. TEurekaModuleOptions.TrakerCategory -> TEurekaModuleOptions.SendXYZCategory
63. TEurekaModuleOptions.TrakerPassword -> TEurekaModuleOptions.SendXYZPassword
64. TEurekaModuleOptions.TrakerProject -> TEurekaModuleOptions.SendXYZProject
65. TEurekaModuleOptions.TrakerTrialID -> TEurekaModuleOptions.SendXYZTrialID
66. TEurekaModuleOptions.TrakerUserID -> TEurekaModuleOptions.SendXYZLogin
67. TEurekaModuleOptions.WebPassword -> TEurekaModuleOptions.SendXYZAuthPassword
68. TEurekaModuleOptions.WebPort -> TEurekaModuleOptions.SendXYZPort
69. TEurekaModuleOptions.WebSendMode -> TEurekaModuleOptions.SenderClasses
70. TEurekaModuleOptions.WebSSL -> TEurekaModuleOptions.SendXYZSSL or SendXYZTLS
71. TEurekaModuleOptions.WebURL -> TEurekaModuleOptions.SendXYZURL
72. TEurekaModuleOptions.WebUserID -> TEurekaModuleOptions.SendXYZAuthLogin
5. Set options were removed. Instead each set item is represented as Boolean property:
1. TEurekaModuleOptions.LogOptions -> TEurekaModuleOptions.loDeleteLogAtVersionChange, TEurekaModuleOptions.loAddComputerNameInLogFileName, etc.
2. TEurekaModuleOptions.CommonSendOptions -> TEurekaModuleOptions.sndShowSuccessFailureMsg, TEurekaModuleOptions.sndSendEntireLog, etc.
3. TEurekaModuleOptions.ExceptionDialogOptions -> TEurekaModuleOptions.edoShowCopyToClipOption, TEurekaModuleOptions.edoUseEurekaLogLookAndFeel, etc.
4. TEurekaModuleOptions.BehaviourOptions -> TEurekaModuleOptions.boPauseBorlandThreads, TEurekaModuleOptions.boHandleSafeCallExceptions, etc.
5. TEurekaModuleOptions.LeaksOptions -> TEurekaModuleOptions.loCatchLeaks, TEurekaModuleOptions.loGroupsSonLeaks, etc.
6. TEurekaModuleOptions.ShowOptions -> TEurekaModuleOptions.soAppStartDate, TEurekaModuleOptions.soUserEmail, etc.
7. TEurekaModuleOptions.CallStackOptions -> TEurekaModuleOptions.csoShowDLLs, TEurekaModuleOptions.csoShowBorlandThreads, etc.
8. TEurekaModuleOptions.CompiledFileOptions -> TEurekaModuleOptions.cfoReduceFileSize, TEurekaModuleOptions.cfoCheckFileCorruption, etc.

 

Replace XYZ in properties names above with name of actual send method. For example, to specify URL for Mantis bug tracker - use TEurekaModuleOptions.SendMantisURL property. The following send method prefixes are available:

1. Bugzilla;
2. Fogbugz;
3. FTP;
4. HTTP;
5. Mantis;
6. MAPI;
7. Shell;
8. SMAPI;
9. SMTPClient;
10. SMTPServer;

 

EMailSendMode and WebSendMode were replaced with single SenderClasses property, which is supposed to list one, two or more send methods in specific order. Use Finalize(Options.SenderClasses) to remove all assigned send methods. Use Options.AddSenderClass and Options.RemoveSenderClass to add/remove method. You can use old esmABC/wsmABC constants (for example, esmSMTP or wsmMantis).

 

See also:




Send feedback... Build date: 2023-09-11
Last edited: 2023-03-07
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/old_6_x_version.php