The reason that BCB with VLC can't play video is my BCB's setting is wrong.
Now the same code in another PC is working.
Here is my code.
Code: Select all
void __fastcall TForm1::FormCreate(TObject *Sender)
{
Variant V(":sout=#duplicate{dst=display}");
char *connect_string;
connect_string = "C:\\test.AVI";
VLCPlugin1->addTarget(WideString(connect_string), V, 12 , -666);
VLCPlugin1->play();
}
Thank for others help.