Monday, May 14, 2007

Delphi 7 on Vista

Yes, there is a dodgy way of doing it. Installation is smooth though, except the warning by "Program Compatibility Assistant" (The "Woo" part of Vista, it irritates me so much).


Anyway, once you get away from this, installation is smooth. But, soon as you install and launch Delphi 7, it throws an error message which says "Unable to rename <>\Delphi32.$$$ to Delphi32.dro. Ouch!!! we have run in to problem.
The solution is to make sure that the Bin folder under the Delphi7 installation has write permission to the user account under which you have logged on to Vista. Also make sure the folder "Projects" too has the write permission for the same account.

Tuesday, May 08, 2007

Hubble's view of our universe


Universe - in all it's glory and splendour!!! I am speechless, does man kind play any significant role in this cosmic activity? If we consider the time frame of the cosmos origin, then humans have made their debue just for tiny fraction of a second and probably will last for another second or so and then will be gone forever?

Wednesday, May 02, 2007

VS 2005 bug while using BackgroundWorker in debug mode

This seems to be a bug in VS 2005. While using BackgroundWorker component for running a certain task in a thread, I could not debug the application "step by step", mainly in the "DoWork" event. The code did just fine, but I wanted to check out a certain variable value at certain point.
After a lot of growling and swearing at folks from Microsoft, I accidently figured that 2 windows "local" and "auto" have to be closed so VS could allow you to debug step by step.

Wonder if this is bug related to BackgroundWorker or if it affects any other threads that we create?