Bonjour à tous,
Avant de poster j'ai bien chercher sur le web (surement mal :?) une façon de lire un dvd avec l'activex de VLC sous builder.
Quelqu'un aurait-il des renseignements ?
Merci à tous
Version imprimable
Bonjour à tous,
Avant de poster j'ai bien chercher sur le web (surement mal :?) une façon de lire un dvd avec l'activex de VLC sous builder.
Quelqu'un aurait-il des renseignements ?
Merci à tous
Bien.... après avoir vue une source sur http://dreambox.funfiles.cc/index.ph...d&postID=78388
Voilà, mais un problème persiste... lors de l'arrêt il y à un plantage.Citation:
void __fastcall TForm1::ButtonStartClick(TObject *Sender)
{
VLCPlugin1->play();
}
//---------------------------------------------------------------------------
void __fastcall TForm1::ButtonStopClick(TObject *Sender)
{
VLCPlugin1->pause();
VLCPlugin1->stop();
VLCPlugin1->playlistClear();
}
//---------------------------------------------------------------------------
void __fastcall TForm1::FormShow(TObject *Sender)
{
/* Vlc Liste mode
VLCPlayListAppend 4
VLCPlayListAppendAndGo 12
VLCPlayListCheckInsert 16
VLCPlayListInsert 1
VLCPlayListInsertAndGo 9
VLCPlayListReplace 2
VLCPlayListReplaceAndGo 8 */
WideString CheminChaine;
TVariant Var = "NULL";
CheminChaine = "L:\\VIDEO_TS\\VTS_01_1.VOB";
VLCPlugin1->playlistClear();
VLCPlugin1->addTarget(CheminChaine,Var,VLCPlayListAppendAndGo,0);
}
//---------------------------------------------------------------------------