Tim Anderson's ITWriting [Valid RSS]

Tech writing blog

Blog Home RSS Archives ITWriting.com
Add to Feedburner Add to Bloglines Add to Newsgator Add to My Yahoo

September 25, 2006

Delphi 7, Winhelp: not compatible with Vista

Posted 1445 days ago on September 25, 2006

It's lucky that Borland brought out a decent version of Delphi in 2006; because Delphi 7 on Vista has issues. Like, here's what you get when you try and install:

So in the interests of research I ran the install anyway. The installer wanted admin rights, naturally, but even after installation I had problems. Maybe this is why it isn't compatible?

Unable to rename Delphi32.$$$

So it appears Delphi 7 likes to write to Program Files. If that's the issue I have a hunch that a couple of things might fix it. One, install outside Program Files; I haven't tried this but it might well do the trick. Two, turn off UAC, maybe just temporarily. I tried the latter. UAC off, restart, run Delphi 7 - it worked - turn UAC back on, restart. We're away:

Delphi 7 running in Vista

Delphi now works though I don't know when it might trip again; installing outside Program Files would be much safer. There is another little snag. Create a new application and by default it won't run, because Delphi 7 keeps its default Projects folder in Program Files. You have to save the project outside Program Files; then it runs OK. Since I always do this anyway, that's no big deal. This is though:

Vista saying it won't run winhelp

I love the bit about "was this information helpful". That's right, Vista no longer supports Winhelp, the old help engine little changed from Windows 3.1 days. To be honest it was dated even when Delphi 7 came out (I remember complaining about it); but it was fast and effective and some people never took to .chm. Apparently it is not quite as bad as it first appears. Microsoft is going to offer winhlp32.exe for download.

In the meantime, you can do what I did, which is to copy winhlp32.exe from Windows XP. It works:

Delphi 7 help in Vista

Conclusion: Delphi 7 doesn't run by default in Vista, but there might not be much wrong with it if you take a few manual steps.

Then again maybe all the Delphi 7 (or 6 or 5) diehards will stick to XP or Windows 2000.

PS: I don't blame anyone for still running Delphi 7, the last version to run without any .NET overhead.

Update

Instead of fiddling with UAC you could just run Delphi 7 with elevated permissions - right-click, "Run As Administrator"; or set it always to run that way. Not so secure, requires an account with local admin rights, and you'll get a prompt every time it runs; but it may be the most practical option if there are other permission issues.

Tags:



Re: Delphi 7, Winhelp: not compatible with Vista

Posted 1266 days ago by Ray • • • Reply

Has anyone been able to use the Borland Database Engine with Windows Vista. I have an old database that has worked fine for years, but it doens't work with Vista.


Add Comment

You are welcome to comment below. For your guidance, HTML is not supported and URLs will be displayed as plain text.

 Title

 Name

 Email - Optional, not displayed

 Website. Make Public?

Your comment

Please enter this code below:

 Code

Recent posts

Users plead with Borland to give up .NET
IE7 to be released 18th October,...
If Microsoft doesn't use UAC, why...
Google's unsettling lack of direction
Vista security: now prove it


Powered by bBlog