<div class="gmail_quote"><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div style="FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div><font color="#0000ff" size="2" face="Verdana">I used it like the example in the developer corner wiki show:</font></div>
<div><font color="#0000ff"></font> </div>
<div><font color="#0000ff">//////////////////////////////////////</font></div>
<div><font color="#0000ff"></font> </div>
<div><font color="#0000ff">
<div><font color="#000000">const char * const vlc_args[] = {</font></div>
<div><font color="#000000">"-I", "dummy", /* Don't use any interface */</font></div>
<div><font color="#000000">"--ignore-config", /* Don't use VLC's config */</font></div>
<div><font color="#000000">"--plugin-path=D:\\bright\\test\\testlibvlc\\testlibvlc\\plugins\\" };</font></div></font><font color="#000000">......</font></div>
<div>
<div> m = libvlc_media_new (inst, "<a href="http://mycool.movie.com/test.mov" target="_blank">http://mycool.movie.com/test.mov</a>", &ex);</div>
<div> raise (&ex);</div>
<div> </div>
<div> mp = libvlc_media_player_new_from_media (m, &ex);</div>
<div> raise (&ex);</div>
<div> </div>
<div> libvlc_media_release (m);</div>
<div> </div>
<div> libvlc_drawable_t drawable = (libvlc_drawable_t)GetDlgItem(IDC_STATIC_VIEW)->GetSafeHwnd(); </div>
<div> </div>
<div> libvlc_media_player_set_hwnd(mp, drawable, &ex); <font color="#0000ff">//replace the set_drawable function</font></div>
<div> raise (&ex);</div>
<div> </div>
<div> ibvlc_media_player_play (mp, &ex);</div>
<div> raise (&ex);</div>
<div> </div></div>
<div><font size="2" face="Verdana">////////////////////////////////////////////////////</font></div>
<div> </div>
<div> </div>
<div><font color="#0000ff">is it something wrong about these?</font></div>
<div><font color="#0000ff">or forgot something in vlc_args ?</font></div>
<div><font color="#0000ff">what is starting the playback mean?</font></div>
<div><font color="#0000ff">Could you give a code example for using set_hwnd func in mfc?</font></div>
<div><font color="#0000ff"></font> </div>
<div><font color="#0000ff">Thanks for your reply~~~</font></div>
<div> </div>
<div> </div></div></blockquote></div>