Forum: Sonstige Fragen zu Delphi
Delphi
by Apollonius,
14. Sep 2008
Ich sehe das wie jbg: Der Fehler liegt bei Turbo Delphi. Denn dort widerspricht die Ausrichtung ja eindeutig der Direktive {$ALIGN 8}. Aber auch bei Turbo Delphi erhält das Feld additional_info seinen Platz.
Forum: Sonstige Fragen zu Delphi
Delphi
by Apollonius,
14. Sep 2008
Warum deklarierst du das Feld denn, wenn du es nicht verwendest? Delphi erlaubt auch Folgendes:
TAc_stream_info = record
stream_type: TAc_stream_type;
case byte of
0: (video_info: TAc_video_stream_info);
1: (audio_info: TAc_audio_stream_info);
end;