Einzelnen Beitrag anzeigen

Benutzerbild von dummzeuch
dummzeuch

Registriert seit: 11. Aug 2012
Ort: Essen
1.468 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#3

AW: Delphiversion 2010 statt Delphi 10.4.2 als Standard

  Alt 17. Okt 2022, 17:34
Hallo,

ich entwickle für meine Firma für viele Geräte jeweils ein Projekt.
Meine Standard-Entwicklungsumgebung war 2010 für alle Projekte.
Jetzt habe ich 10.4.2 für 2 Projekte neu installiert.

Wenn ich jetzt eine andere *.dproj Datei öffne (Doppelclick im Windows Explorer), wird 10.4.2 aufgerufen.
Mein Wunsch ist, dass für diese Projekte beim Öffnen wieder Delphi 2010 als Standard gewählt wird.
Genau für sowas habe ich dzBdsLauncher geschrieben.

Code:

dzBdsLauncher tries to solve the problem of accidentally opening a Delphi project with the wrong Delphi version.

While .dproj files can be opened with newer Delphi versions than the one that created them, it does not work the other way round. So if you open a Delphi 10 .dproj file with e.g. Delphi 2007 all you will get is an error message. If you open a Delphi 2007 .dproj file with Delphi 10 it will automatically convert it to the new format used by that version and it will become unreadable by Delphi 2007.

...

The idea is to register dzBdsLauncher as the handler for .dpr, .dproj, .bdsproj, .dof and .groupproj files in Windows so your chance for opening the right Delphi version when double clicking such a file will much higher than normal.
Was das Tool nicht macht, ist eine bereits laufende IDE zu verwenden. Das ist Absicht, denn es nervt mich total, wenn das passiert.
Thomas Mueller
  Mit Zitat antworten Zitat