![]() |
as file in function
Jemand ne idee wie ich
MidiFile : File innerhalb einer funktion umlegen kann?
Delphi-Quellcode:
procedure processTrack(midiFile: file; trackNr: Integer; trackSize: LongInt; debug: TStrings);
Mag der compiler nicht. DateiTyp nicht zulässig! Warum geht sowas in C++ und in Delphi wieder nicht? gruss |
AW: as file in function
Dateiparameter müssen als VAR-Parameter deklariert werden.
(es sind halt Records und Delphi weiß halt, daß es als "CONST" so nur Probleme gibt) Und sicher, daß du nicht auf Streams umsteigen willst? |
AW: as file in function
Zitat:
TFileStream oder eof Danke! gruss |
Alle Zeitangaben in WEZ +1. Es ist jetzt 18:22 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-2025 by Thomas Breitkreuz