Delphi 7 and Windows 7 and 8.1 32 and 64 bit.

As you can see in this blog, I recently started programming again in Pascal, eh, Delphi Object Pascal. The version I use (since it is the last version close to traditional Windows programming) is version 7. The best version to use, is the version that floats around as Delphi 7.2 Second Edition (search a torrent site) which is a trimmed and bugfixed small package.

Of course this package runs fine on Windows XP. But how on Windows 7 (and 8!)?

This is how I got it to work.

Installation

  • Make sure you run this as administrator, you will need the privs.
  • Run the Delphi installer. Use defaults for the file locations, ignore the incompability warnings.
  • Dont start Delphi 7 as it will complain when starting a project about unable to rename delphi32.$$$ to .dro in the /program files/delphi directories . And something about debug options requiring a change.
    So there are access problems, as to be expected. Windows 7 is a lot more robust, so directories are better protected.

Solve the access problems

  1. Run this as administrator.
  2. Open the properties on c:/program files/delphixxx directory.
  3. On the first tab Clear the Read-only attribute and press Apply for all files including subdirectory.
  4. Open the security tab
  5. Give users (and admins if necessary) full access to c:/program files (X86)/delphixxx directory

Now Delphi can be used to write programs again.

Edit August 2010: Windows 7 64 bit is also not a problem. Delphi is installed in C:\PROGRAM Files (X86)

Edit Deceber 2014: Windows 8.1 64 bit also runs Delphi 7!

 

Fix Winhelp

Help does not function, a windows pops up telling “winhelp is not supported anymore on this Windows version, go to microsoft.com for a fix” .

Search ¬†Microsoft.com Windows Help program for Windows 7′ or 8 or 8.1 on microsoft.com, currently here¬† install that and you do not need the next trick.

Now on Windows 8.1 (64 bit) I got the winhelp installer throwing ‘Incompatible sytem’ errors at me. After some research it was solved by downloading installing the English (US) language pack and have that active during the install (Cahrms, PC Settings etc).

Now help functions also.

55 thoughts on “Delphi 7 and Windows 7 and 8.1 32 and 64 bit.

  1. i want Borland Delphi 7 (Freeware Package Copyright by Kambiz R. Khojasteh) for my project. but im not getting delphi 7.0, plz give me exact link for delphi 7.0 free download

  2. Installed D7 on Win8.1, and runs ok – thanks very much for the above instructions.

    However although I have changed compatability and run as administrator for both the Delphi32 executable, and the desktop shortcut, I still get the UAC message “do you want to allow program from unknown publisher…” everytime I start. Is it possible to stop this?

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>