Autor Beitrag
Lemmy
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Do 16.08.07 13:03 
Hi,

folgendes Problem: Ich habe ein Programm, das unter 2 verschiedenen Namen laufen soll, d.h. einmal "ProgrammA" und einmal "AnwendungC". Innerhalb des Programmes kann ich das über die Compilerdirektiven steuer ({$IFDEF}), allerdings muss ich bei jeder Compilierung in den Projekteigenschaften den Namen des Projektes ändern, sonst wird in der Taskbar bei "AnwendungC" weiterhin "ProgrammA" dargestellt.

Ich sehe gerade nur den Ausweg das über 2 Projektdateien zu machen, was mit aber ziemlich umständlich ist. Leider finde ich für MSBuild (ich habe D2k7) nicht wirklich genug Infos um aussagen zu können ob ich das mit dem evtl. steuern kann.

Hat vielleicht jemand ne Idee wie das einfacher geht?

Grüße
Lemmy
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Do 16.08.07 13:06 
Mit Application.Title kannste die Anzeige in der Taskleiste ändern.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Lemmy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Do 16.08.07 15:16 
Ahhh.. Super! Vielen Dank!