Autor Beitrag
Mindforce
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Sa 15.11.08 17:47 
Hallo Community,

ich war riiichtig schön in meinem Code vertieft!
Alles klappte wunderbar..
Aber jetzt kennt sich meine Form Tmessenger also "messenger" nicht mehr.

So sieht's aus:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
program XPG2008Pro;

uses
  Forms,
  anmeldungpas in 'anmeldungpas.pas' {Anmeldung},
  messengerpas in 'messengerpas.pas' {messenger},
  settingspas in 'settingspas.pas' {Settings},
  messagespas in 'messagespas.pas' {messagetag},
  errwinpas in 'errwinpas.pas' {errwin};

{$R *.res}

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.Title := 'XPG 2008 Pro';
  Application.CreateForm(Tanmeldung, anmeldung);
  Application.CreateForm(Tmessenger, messenger);
  Application.CreateForm(Tmessagetag, messagetag);
  Application.CreateForm(Tmindsettings, mindsettings);
  Application.CreateForm(Terrwin, errwin);
  Application.Run;
end.



Er sagt mir dann:

[DCC Fehler] XPG2008Pro.dpr(18 ): E2003 Undefinierter Bezeichner: 'messenger'


Mehr Infos kann ich euch leider nicht geben..
Mir fällt auch ncihts mehr ein, ich bin ideenlos. Habe bereits alles probiert, was mir in den Sinn gefallen ist.

Danke im voraus, ich dreh schon ab xD


MfG,

M!ndbyte

_________________
Our force; in mind.
DeddyH
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Sa 15.11.08 18:25 
Und wenn Du in den Projektoptionen die Unit mal entfernst und anschließend wieder einfügst?
Xentar
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2077
Erhaltene Danke: 2

Win XP
Delphi 5 Ent., Delphi 2007 Prof
BeitragVerfasst: Sa 15.11.08 18:26 
Zeig uns mal den Interface Abschnitt von messengerpas.

_________________
PROGRAMMER: A device for converting coffee into software.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 15.11.08 21:02 
Vor implementation müsste dort stehen:
ausblenden Delphi-Quelltext
1:
2:
var
  messenger: Tmessenger;
Entweder tritt ein anderer Kompilierfehler auf oder diese Zeile steht dort nicht mehr würde ich sagen.
Mindforce Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Sa 15.11.08 22:50 
DANKE, jaenicke!!

Klar, ich hab ausversehen die Variable von dem Ding gelöscht.
Es funktionert wieder :)

Und an die anderen auch ein gutes Danke :)
Noch einen schönen Abend!

MfG,

M!ndbyte

_________________
Our force; in mind.