September 25, 2006Delphi 7, Winhelp: not compatible with VistaPosted 1403 days ago on September 25, 2006It'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?
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 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:
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:
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. UpdateInstead 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. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1403 days ago by Dennis Landi • • • ReplyGood man, Tim! Re: Delphi 7, Winhelp: not compatible with VistaPosted 1402 days ago by Rob... • • www • Reply
I still don't like CHM, but I suppose I'd better move with the times. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1401 days ago by Tim Anderson • • • Reply
I don't mind .chm - the thing that causes me grief is the Microsoft Document Explorer a.k.a. HTML Help 2.0. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1389 days ago by Anton • • • ReplySo I guess Delphi 5 & 6 won't install either. I'm still using 5, as it does what I want. So I guess I'll be sticking with XP. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1387 days ago by Laura • • • Reply
My company has some legacy help (.hlp) that we need to run on Vista. I'm patiently waiting for the winhlp32.exe to be available on the Microsoft download site. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1387 days ago by Tim Anderson • • • Reply
Laura, Re: Delphi 7, Winhelp: not compatible with VistaPosted 1386 days ago by Laura • • • Reply
Thanks for the quick response. I've tried to copy the winhlp32.exe file from a variety of xp machines on our network, but I continue to get the following error when I double-click the exe: Re: Delphi 7, Winhelp: not compatible with VistaPosted 1386 days ago by Tim Anderson • • • Reply
Vista has a dummy winhlp32.exe in the Windows directory. Have you tried copying the XP one somewhere else, say to your desktop? Re: Delphi 7, Winhelp: not compatible with VistaPosted 1386 days ago by Laura • • • Reply
Thanks for your help. I'm not sure what combination of things got it to work, but it's fine now. The version information helped. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1380 days ago by Anonymous • • • Reply
Laura said: Re: Delphi 7, Winhelp: not compatible with VistaPosted 1326 days ago by Steve • • • Reply
Hi, Re: Delphi 7, Winhelp: not compatible with VistaPosted 1224 days ago by Ray • • • ReplyI have version 5.1.2600.2180 but it is only 8,192 bytes. Why is yours different. Can you e-mail your copy. Thanks. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1373 days ago by Mike • • • Replythose trying winhlp32.exe from XP on Vista - it only works with RC2 and higher. I previously got the "corrupt" message on earlier builds. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1224 days ago by Ray • • • Reply
Where do i determine if I have RC2 or not. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1352 days ago by Gaz • • • Reply
I actually installed Delphi 5 & 7 on Vista Beta, RC1 & 2 with no issues. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1334 days ago by Bob Swart • • www • Reply
I just set the "modify" permission on the Delphi7\Bin and Delphi7\Projects directory. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1266 days ago by Mike Soulliere • • • Reply
Hi there, Re: Delphi 7, Winhelp: not compatible with VistaPosted 246 days ago by Anonymous • • • ReplyYes, I don't have the search tab either. I didn't notice that it was missing until the other day when a message box popped up while I sought help and told me that some .dll was missing. Stupidly, I didn't note the name of the .dll because I was in the middle of doing something else. IIRC it did have some name like srchXXX.dll or some such. Don't have an XP box to look Re: Delphi 7, Winhelp: not compatible with VistaPosted 1237 days ago by Aaroe • • • Reply
What is the opinion of running applications made with WINXP/Delphi7 running on VISTA? Re: Delphi 7, Winhelp: not compatible with VistaPosted 1235 days ago by Tim Anderson • • • Reply
There are some issues, but they are mostly cosmetic. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1230 days ago by Sanjay Kanade • • www • Reply
Well, Microsoft has now released the official WinHelp download for Vista: Not working yet..Posted 1229 days ago by Nuno Brito • • www • Reply
Tried with RTM portuguese version and we can't write c:\windows?? Re: Delphi 7, Winhelp: not compatible with VistaPosted 1226 days ago by Anonymous • • • Reply
Microsoft now has an official download for winhelp on Vista. I used this and it worked fine for me. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1224 days ago by Ray • • • ReplyHas 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. Re: Delphi 7, Winhelp: not compatible with VistaPosted 1046 days ago by Gary Hoban • • • ReplyThanks. After months of trying to install my beloved Delphi 5 on my new Vista laptop, your site came up on Google I tried both your suggestions at once; they worked. Thanks again. Gary Re: Delphi 7, Winhelp: not compatible with VistaPosted 1044 days ago by Jann • • • Reply
This is a much easier way and it works in both OS (Vista & XP): Re: Delphi 5 App not running in vistaPosted 1017 days ago by William • • • Reply
Hi all Re: Delphi 7, Winhelp: not compatible with VistaPosted 845 days ago by Robert Thompson • • • Reply
I never successfully got Delphi 7 to install on Vista. The install started to run then died. I don't remember the error message, but I will try installing it outside of 'program files' and running it as administrator (I thought that was the default!). Re: Delphi 7, Winhelp: not compatible with VistaPosted 816 days ago by Giovanni • • • Reply
I totally agree with this: Re: Delphi 7, Winhelp: not compatible with VistaPosted 782 days ago by Hayden • • • Reply
hey. Re: Delphi 7, Winhelp: not compatible with VistaPosted 781 days ago by Tim Anderson • • • Reply
Why not use the official download: Re: Delphi 7, Winhelp: not compatible with VistaPosted 771 days ago by shawn • • • Replythanx so much guys..this has been so helpful for me.i'm new to delphi and i have delphi 2007 on vista, just have to have my way to get started with dlephi 5 on vista...i owe alot.. |
Recent postsUsers plead with Borland to give up .NETIE7 to be released 18th October,... If Microsoft doesn't use UAC, why... Google's unsettling lack of direction Vista security: now prove it |
Re: Delphi 7, Winhelp: not compatible with Vista
Posted 1403 days ago by alex_t • • www • ReplyI think it will be better to run it in the VM ;-)