![]() ![]() I worked my way through the most important compiler warnings and hints. These included fixing declarations, replacing a deprecated symbol or routine with another, and new messages about possibly uninitialized variables that the XE8 compiler was picking up that 2009 didn’t. There were still lots of warnings and hints to fix. It ran fine, looked fine (except for a minor problem with the toolbar icons), and did not have any obvious problems. ![]() It was nice to see Behold running from XE8. I commented out the offending EurekaLog statements and that allowed Behold to compile and run. So I added to my ticket and while waiting went back to fix the rest of what wasn’t working. I got a response quickly, within a couple of hours (on a Saturday!) and that answer led me to some good examples, but they weren’t quite enough to help me. But I could not make any headway on this, so I went to the next step and submitted a support ticket on the EurekaLog site with my problem and requested a method to fix it. ![]() If stumped I might check StackOverflow and maybe ask a question there about how to do it. I go through their documentation and try various things. I always give myself a couple of hours to see if I can figure out any problem. I looked to see what changed, and it wasn’t simple. It was passing information from unexpected errors to a special form I had set up for that purpose. I wasn’t trying to get EurekaLog to do much. The errors indicated major changes to that package, and indeed when I checked out their site, I found that Version 7 was almost completely rewritten. Sure enough, after I fixed it, I now had:ĮurekaLog was now the culprit. You fix one error and the compiler can then look at more code. That doesn’t sound so bad for a first attempt, to have only 1 error. For now, I just changed the declarations to eliminate the error and proceed. The second was the error aborting the compile because it couldn’t compile the unit. This was a change I remember reading that RichView had made a few years ago to use strings instead of integers for their tags. One error was an incompatible type between Integer and TRVTag. Then I compiled, and knowing that there was little likelihood of it working, I got: To get started, I included the 3rd party packages without my customizations to see if what was left would still run. Theoretically, if all updates made to an environment are backwards compatible, then old code would just run unchanged in the new environment. Now it was time to get Behold working again in the new Delphi XE8 environment. Last post, I updated my development tool and installed new versions of my three 3rd party applications. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |