![]() |
AW: Memo als aktives CMD- Fenster
Hallo,
was mache ich falsch?
Delphi-Quellcode:
Fehlermeldung
unit Unit1;
{$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, unConsoleRedirector;// hier kommt schon eine Fehlermeldung! type TForm1 = class(TForm) private { private declarations } public { public declarations } end; var Form1: TForm1; implementation {$R *.lfm} end. "unit1.pas(9,12) Fatal: Can not find unit unConsoleRedirector used by Unit1 of the project inspector." |
AW: Memo als aktives CMD- Fenster
Befindet sich die Unit im (Such-)Pfad?
U.U. funktioniert diese in FPC nicht. |
AW: Memo als aktives CMD- Fenster
Für Freepascal muss man gegebenenfalls oben in die unConsoleRedirector.pas noch ein
Delphi-Quellcode:
einfügen. Ansonsten sollte es meiner Meinung nach funktionieren, solange die Zielplattform Windows ist.
{$mode Delphi}
Aber die Fehlermeldung deutet eher darauf hin, dass die Unit nicht im Suchpfad ist. |
AW: Memo als aktives CMD- Fenster
Hallo,
nachdem es mit Lazarus (Freepascal) nicht funktoniert hat, habe ich es heute mit Delphi XE 7 versucht! "Unit Name unConsoleRedirector kann nicht aufgelöst werden!" Auch ohne Erfolg! :?
Delphi-Quellcode:
unit Unit1;
interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, unConsoleRedirector ; type TForm1 = class(TForm) private { Private-Deklarationen } public { Public-Deklarationen } end; var Form1: TForm1; implementation {$R *.dfm} end. |
AW: Memo als aktives CMD- Fenster
Wenn die Datei nicht gefunden werden kann, dann wird sie nicht gefunden. und solange Du daran nicht änderst, wird es auch in der Zukunft nicht funktionieren.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:17 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz