0
votes

We have Win7/x64 with Delphi6. Many things are working like in WinXP, but I found a very disturbing phenomenon.

Many times on build I placed in the source, and try to use this function. Then Delphi starting to put all forms into foreground. When it finished with build, many forms I see, and I need to close them to back to source.

More disturbing that sometimes on build, or load project, or ???? the Delphi also start to push to forms into foreground place, but it hanged on this operation. Every form is touched and bringed to top window, and they are visible in the task tray too. When all visible, Delphi hide them all. And start again from the beginning.

I need to close process then.

I tried to set compatibility WinXp on Delphi, but then, when I try to open a dpr with ShellExec, or DblClick, I got system warn to "The process want to modify the system", and when I clicked on allow (Yes), the dpr not loaded... :-(

Do you have same problem?

How to solve it?

Thanks: dd

2
Is this a plain Delphi-6 or a Delphi-6 with loads of 3rd party stuff?Jeroen Wiert Pluimers
Delphi 6 with many 3rd pss... :-(durumdara

2 Answers

6
votes

Let me start that you cannot seriously expect a 2001 software development product like Delphi 6 to fully work with a 2009 operating system like Windows 7 that has since then undergone major structural changes.

Development products by nature work at the edge (usually cutting, sometimes turning into bleeding) of what is possible at the operating system versions that were current at their time.

Changes in operating systems sometimes cause software to stop working, or to limit their functionality. This is more so for development software.

In this case, major changes introduced since Windows Vista, like UAC, session management, video output and task bar management will affect your Delphi experience.

That is one of the reasons that Delphi 2007 got released with 2006 backward compatibility: to solve many of those problems.

That said, there are basically three options for you:

  • run Delphi under a Windows XP virtual machine (in Windows 7, you can use XP mode for free if you have Windows 7 Professional, Enterprise or Ultimate, or something commercial like VMware workstation/player, Virtual-PC, link textVirtualBox and others in Windows 7, or
  • learn about UAC and other new features, and how they influence software in general, and more specifically software development environments; then install Delphi 6 working around parts of the limitations and live with the remaining limitations
  • upgrade to a newer Delphi version: Delphi XE (unicode) works fine, and gets you a free Delphi 2007 (non-unicode) which works nicely as well

--jeroen

2
votes

Judging by your description, I'd say that you have a serious virus infection problem on your PC, but that's just me.