Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Das Prog. o. d. Unit 'SQLDispatcher.pas' ruft sich selbst... (https://www.delphipraxis.net/9103-das-prog-o-d-unit-sqldispatcher-pas-ruft-sich-selbst.html)

Nalincah 18. Sep 2003 10:04


Das Prog. o. d. Unit 'SQLDispatcher.pas' ruft sich selbst...
 
Delphi-Quellcode:
[Fataler Fehler] SQLDispatcher.pas(1): Das Programm oder die Unit 'SQLDispatcher.pas' ruft sich selbst wieder auf
[Fataler Fehler] Unit1.pas(7): Verwendete Unit 'SQLDispatcher.pas' kann nicht compiliert werden
[Fataler Fehler] Unit1.pas(7): Verwendete Unit 'SQLDispatcher.pas' kann nicht compiliert werden
Was soll das heißen?

sakura 18. Sep 2003 10:13

Re: Das Prog. o. d. Unit 'SQLDispatcher.pas' ruft sich selbs
 
Kann es sein, daß Du eine Unit hast, welche SQLDispatcher.pas heißt und Deine Anwendung zufällig SQLDispatcher.dpr heißt? Eines von beiden umbennen und es sollte gehen.

...:cat:...

Nalincah 18. Sep 2003 10:17

Re: Das Prog. o. d. Unit 'SQLDispatcher.pas' ruft sich selbs
 
Ups...Genau das ist es...Hätt ich eigentlich selbst drauf kommen können..Danke :dancer:

Nalincah 18. Sep 2003 10:21

Re: Das Prog. o. d. Unit 'SQLDispatcher.pas' ruft sich selbs
 
Jetzt hab ich noch kleine Frage? Wo muss ich in der Komponenten-Unit ne Function deklarieren wenn ich sie NUR im Quellcode haben will.

Funktion heißt CreateSQL und soll aufgerufen werden wenn ich Button1 klicke. Momentan hab ich sie noch im "protected"-Bereich.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:50 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz