SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
Delphi 7
The following will apply to all version of Delphi up to version 7, as well as all versions of
C++Builder up to version 6. For Delphi/C++Builder 2006, see the second part of this
article.
When trying to install Delphi 7 on Windows Vista, we get an error message, claiming that
"this program has know n compatibility issues".




You can check for solutions online, but that won't help much. For now, just click on "Run
program" to run the Delphi Installer anyway.
Using the Delphi Installer, you can install Delphi 7 (as well as other applications like
InterBase). You won't get any problems during the installation.




After Installation
When starting the installed version of Delphi 7, I got the error message from F igure 1
again. This time, when clicking on the "Run program" button, Delphi would start, but
with an error message telling us that Delphi is unable to (i.e. not allowed to) rename
delphi32.$$$ to delphi32.dro.




And after clicking on OK, Delphi would open, but without an open project. Since I always
start Delphi 7 w ith the -np flag, I didn't even notice the different. However, starting a
new project also results in the above error message: being unable to rename the
Delphi32.$$$ file to Dephi32.dro.
The reason clearly is that the Delphi32.exe application is not allowed (by Windows Vista)
to write in the Delphi7Bin directory.
Modify Permissions
To solve this, we need to allow the users of the laptop to "modify" the contents of this
directory, as shown in the next screenshot:




Apart from the Delphi7Bin directory, we must also allow the users of the laptop to
"modify" the contents of the Delphi7Projects directory so compiled applications (and
packages) can be produced.
Note that any other directory you need to write to (like unit output directories) must also
be opened up before you can actually compile and run the Delphi 7 applications.
The screenshot belows shows Delphi 7 running with a new VCL application open.
Compiling and running Delphi 7 applications also works fine after the aforementioned
two changes. And now that Delphi 7 is up-and-running, I can "migrate" some Win32
applications to Windows Vista, making use of the new UI features. The only remaining
issue is the integrated help, using WinHelp, which no longer works on Windows V ista.
According to KB917607, starting with Windows Vista, the Windows Help program w ill not
ship as a component of Windows. Also, third-party programs that include .hlp files are
prohibited from redistributing the Windows Help program together with their products!
Users who want to view 32-bit .hlp files must download the program from the Microsoft
Dow nload Center, and then install it on their computers. Unfortunately, the download for
Windows Help is "still in development", but will (hopefully) be available in time for the
consumer release of Windows Vista (early 2007).

Contenu connexe

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Delphi 7

  • 1. Delphi 7 The following will apply to all version of Delphi up to version 7, as well as all versions of C++Builder up to version 6. For Delphi/C++Builder 2006, see the second part of this article. When trying to install Delphi 7 on Windows Vista, we get an error message, claiming that "this program has know n compatibility issues". You can check for solutions online, but that won't help much. For now, just click on "Run program" to run the Delphi Installer anyway.
  • 2. Using the Delphi Installer, you can install Delphi 7 (as well as other applications like InterBase). You won't get any problems during the installation. After Installation When starting the installed version of Delphi 7, I got the error message from F igure 1 again. This time, when clicking on the "Run program" button, Delphi would start, but with an error message telling us that Delphi is unable to (i.e. not allowed to) rename delphi32.$$$ to delphi32.dro. And after clicking on OK, Delphi would open, but without an open project. Since I always start Delphi 7 w ith the -np flag, I didn't even notice the different. However, starting a new project also results in the above error message: being unable to rename the Delphi32.$$$ file to Dephi32.dro. The reason clearly is that the Delphi32.exe application is not allowed (by Windows Vista) to write in the Delphi7Bin directory.
  • 3. Modify Permissions To solve this, we need to allow the users of the laptop to "modify" the contents of this directory, as shown in the next screenshot: Apart from the Delphi7Bin directory, we must also allow the users of the laptop to "modify" the contents of the Delphi7Projects directory so compiled applications (and packages) can be produced.
  • 4. Note that any other directory you need to write to (like unit output directories) must also be opened up before you can actually compile and run the Delphi 7 applications. The screenshot belows shows Delphi 7 running with a new VCL application open.
  • 5. Compiling and running Delphi 7 applications also works fine after the aforementioned two changes. And now that Delphi 7 is up-and-running, I can "migrate" some Win32 applications to Windows Vista, making use of the new UI features. The only remaining issue is the integrated help, using WinHelp, which no longer works on Windows V ista.
  • 6. According to KB917607, starting with Windows Vista, the Windows Help program w ill not ship as a component of Windows. Also, third-party programs that include .hlp files are prohibited from redistributing the Windows Help program together with their products! Users who want to view 32-bit .hlp files must download the program from the Microsoft Dow nload Center, and then install it on their computers. Unfortunately, the download for Windows Help is "still in development", but will (hopefully) be available in time for the consumer release of Windows Vista (early 2007).