Autor Beitrag
erikh112
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 20

WIN 2000

BeitragVerfasst: Do 06.07.06 17:01 
Hallo Gemeinde,

habe folgendes Problem:

Mein Programm startet nicht mehr weil es eine Unit in einem bestimmten Ordner nicht mehr findet.
Soweit so gut, kann ich nun irgendwie denn neuen Pfad zu der Unit angeben?
In der Projektverwaltung klappt es nicht. Die Unit wurde durch einen Fehler in einem Falschen Ordner hinterlegt, würde jetzt gern alles in einem Ordner haben.
Kann mir jemand helfen?

Danke

Gruß

Erik
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 06.07.06 17:08 
Die Unit in den richtigen Ordner kopieren und in der dpr-Datei den Pfad ändern.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
erikh112 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 20

WIN 2000

BeitragVerfasst: Do 06.07.06 17:10 
wo find ich da den pfad oder wie ist er angegeben??
Hab grad schon gesucht ...
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 06.07.06 17:13 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
program XXXX;

uses
  Forms,
  main in 'main.pas' {mainform},
  play in 'play.pas' {spielform},
  functions in 'functions.pas';

So sieht es z.B. aus.
Wie heißt deine Unit?

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
erikh112 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 20

WIN 2000

BeitragVerfasst: Do 06.07.06 17:19 
meine unit heißt: wertetabelle.pas

und liegt in folgendem neuen ordner:
G:\Eigene Dateien\BA\informatik\Programmentwurf_E_Hoernlen\wertetabelle.pas

und früher lag sie in diesem ordner:

G:\Eigene Dateien\12_06_06\Aufgabe 18\wertetabelle.pas
erikh112 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 20

WIN 2000

BeitragVerfasst: Do 06.07.06 17:25 
hat sich erledigt... klappt wieder...

danke nochmal...
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 06.07.06 17:26 
Na dann suchst du dir in G:\Eigene Dateien\BA\informatik\Programmentwurf_E_Hoernlen die dpr-Datei und öffnest sie. Dort muss rein:
ausblenden Delphi-Quelltext
1:
2:
3:
uses

wertetabelle in 'wertetabelle.pas';

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot