Autor Beitrag
Cookie007
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96

win2000 / Xp / Linux9.3
Delphi7
BeitragVerfasst: Di 03.01.06 10:23 
Hallo Leute

Ich versuche grade in einem delphi7 projekt einen aufgenommenen Sound abzuspielen

Konstruktion : Timer (on time)
mediaplayer1.play


nachdem die timerzeit abgelaufen ist gibt er mir eine fehlermeldung, die besagt, dass ich ein MCI
device öffnen muss.
ist wahrscheinlich recht einfach, bin aber Anfänger, wär aber nett wenn man's mir
auch erklären könnte.


Danke
gez.Cookie 007


Moderiert von user profile iconGausi: Topic aus Sonstiges verschoben am Di 03.01.2006 um 11:05

_________________
Mein System : A64 2400 Clawhammer, 1534 MB Ram, 200GB Festplatte, GeForce 6600 (Gigabyte)
Warum so ein langes Gesicht auf jede Frage gibt es eine Antwort, du musst sie nur suchen.(suchfunktion)
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Di 03.01.06 11:09 
Probiers mal so:
ausblenden Delphi-Quelltext
1:
2:
3:
MediaPlayer1.Filename := 'c:\meinedatei.mp3';
MediaPlayer1.Open; // Wahrscheinlich fehlt einfach nur diese Zeile...
MediaPlayer1.Play;

_________________
We are, we were and will not be.
Cookie007 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96

win2000 / Xp / Linux9.3
Delphi7
BeitragVerfasst: Di 03.01.06 11:52 
Gausi,
sieht schon besser aus jetzt sagt er aber 'Kann keinen gültigen
Gerätetyp aus der Dateinamenerweiterung erkennen'

_________________
Mein System : A64 2400 Clawhammer, 1534 MB Ram, 200GB Festplatte, GeForce 6600 (Gigabyte)
Warum so ein langes Gesicht auf jede Frage gibt es eine Antwort, du musst sie nur suchen.(suchfunktion)
Cookie007 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 96

win2000 / Xp / Linux9.3
Delphi7
BeitragVerfasst: Fr 06.01.06 10:16 
hab die endung .wav vergessen

_________________
Mein System : A64 2400 Clawhammer, 1534 MB Ram, 200GB Festplatte, GeForce 6600 (Gigabyte)
Warum so ein langes Gesicht auf jede Frage gibt es eine Antwort, du musst sie nur suchen.(suchfunktion)