Sunday, August 8, 2010

Remote debugging with Delphi 5

I am a longtime Delphi 5 user and the main reason of why I haven't upgraded to the latest Delphi-version is that I have som many 3rd party components that need to be upgraded as well. Unfortunately one of the key component pack I have without source and the supplier seem to be out of business. Big mistake I made back then but anyway. Since I have upgraded to Windows 7 and 64-bit it's not optimal to run Delphi 5 on it due to the fact that Delphi 5 breaks some of the security thoughts implemented in Windows. There are ways to fix it but I figured that it was about time to try out and work with Delphi 5 in a VMWare instance of Windows XP with Delphi 5 installed. And it's working like a charm. VMWare starts a lot faster than my old computer used to do and now I have some instances of Delphi 5 already running so I just can start code instantaneously.

Now to my key issue - remote debugging. It has been there for 10 - 12 years (at least) and I have never even tried it! What I have done is installed the Borland Remote Debugger on my Windows 7 PC and then I add the remote debugger symbols and flag that the project should be run remotely. Very nice! Now I can try the application out in Windows 7 and sort out any compability issues while still coding in my good old Delphi 5.

As a sidenote.. I am working on migrating to Delphi 2007 and then to the latest edition... but it takes time... :)

Monday, August 2, 2010

Migrating IBExpert to a new computer

I have got a new computer that I will run Windows 7, 64-bit on and I am using IBExpert frequently. I have also several databases already registered so this is how I went about to fix it.

1. Rename the new computer to the name the old computer had (the license is tied to computer name).
2. Locate the files in file://oldcomputer/c$/Documents and Settings\\Application Data\HK-Software\IBExpert
3. Copy the files to C:\Users\\AppData\Roaming\HK-Software\IBExpert
4. Done!

Pretty simple when you know how. :)