How to run Delphi 7 on Windows 7 without disabling UAC?

I had a bad idea to upgrade to Windows 7 (32 bit) and now my old Delphi 7 will not work properly. Actually, it worked fine until yesterday, but (I suppose) after some MS Windows updates it will work if I double-click the DPR file. However, it works if I run it as an administrator or run the Delphi IDE without double-clicking on the DPR file (and not on loading the DPR). So obviously this is a jab problem. I am really angry that I switched to Win 7, which is not the most different (better) than Win XP. If I have to disable UAC (and with it the only big improvement that Win 7 will bring is security) than it really is, I will not have the benefit of Win 7. So, how do I get Delphi to work without disabling UAC? A.

I hope that other people who have this problem have found a solution. :)


Update:

  • I already tried to grant Delphi permissions to write to the folder "c: \ Program Files \ Borland \ Delphi". Bad luck.
  • I do not want to run it in administrator mode (this includes XP mode), since it will work at a different level. Some API calls do not crash (since it is running in admin mode). Dragging and dropping from a non-administrator program and other similar functions will also not work.
  • Security is not a problem. I do not senselessly download any piece of software that I receive from random people (read spammers) via email or from an obscure website, so I do not receive viruses. Oh ... and I do not use IE to view :)
+3
4

. DDE. ddeexec, Delphi.

+3

Delphi % %. , UAC ( NT4).

Delphi 5 7 Windows 7 , .

+7

XP Mode Windows 7 Professional. VM Mode Mode VMware Player. .

: XP Mode, , XP, . , , () .

+5

The easiest way to set it as an administrator or do a Google search for the corresponding file if you still have problems, so the folder is probably read-only, so you should change that.

It really works, so I did my job

+1
source

Source: https://habr.com/ru/post/1764671/


All Articles