habs nur mal schnell probiert, und geht nicht:
er bleibt hier stehen:
Code: Alles auswählen
ErrorCheck( FxAudioMediaStream.GetFormat(FxFormat) );
Ausgabe (Win XP Prof.):
Code: Alles auswählen
Hint: Start of reading config file e:\lazarus\fpc\2.1.1\bin\i386-win32\fpc.cfg
Hint: End of reading config file e:\lazarus\fpc\2.1.1\bin\i386-win32\fpc.cfg
Warning: You are using the obsolete switch -OG
Free Pascal Compiler version 2.1.1 [2007/02/24] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Win32 for i386
Compiling laz_acs.pas
Compiling E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(148,54) Error: Call by var for arg no. 1 has to match exactly: Got "TWaveFormatEx" expected "_WAVEFORMATEX"
E:\lazarus\komponenten\acs24\Src\fileformats\windows\DirectShow9.pas(5726,14) Hint: Found declaration: IAudioMediaStream.GetFormat(out _WAVEFORMATEX):LongInt;StdCall
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(150,47) Error: Incompatible type for arg no. 1: Got "TWaveFormatEx", expected "_WAVEFORMATEX"
E:\lazarus\komponenten\acs24\Src\fileformats\windows\DirectShow9.pas(5758,14) Hint: Found declaration: IAudioData.SetFormat(const _WAVEFORMATEX):LongInt;StdCall
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(164,23) Hint: Type size mismatch, possible loss of data / range check error
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(165,38) Hint: Type size mismatch, possible loss of data / range check error
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(198,56) Hint: Type size mismatch, possible loss of data / range check error
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(281,60) Hint: use DIV instead to get an integer result
E:\lazarus\komponenten\acs24\Src\fileformats\acs_dsfiles.pas(359) Fatal: There were 2 errors compiling module, stopping