Page 1 of 1

hi all ,could someone help me?

Posted: 06 Aug 2008 16:21
by microgiant
hi all
i'am puzzled.
i use the vlc activex in my program.it's a MDI program.the vlc parent window is a formview,and i add the view into the MDI. i create for objects of the formview,so ,there are 4 vlc to display.

if i make the MDI maxsize or minisize one of the vlc activex will not display well.
if some other window cover the MDI,one of the vlc activex will not display well either.
if i do not make the MDI maxsize or minisize,and do not cover the MDI,the four vlc activex display well.
in the formview Onpaint function,i add m_vlc.RedrawWindow(NULL,NULL,RDW_INVALIDATE|RDW_ERASE|RDW_ERASENOW|RDW_UPDATENOW|RDW_ALLCHILDREN);
i dont know that the function work well or not.

How can i make the four vlc activex display well,if i cover the MDI or make it maxsize and minisize.


hope my poor English will not puzzled you.

thank you very much.

Re: hi all ,could someone help me?

Posted: 06 Aug 2008 22:49
by thannoy
Hi,

At least on web browsers, using multiple ActiveX instances in the same process is known to be unstable. I have read that last unstable snapshots of VLC (0.9.0) are a bit better on this point.
You could give a try to 0.9.0 unstable if you have only tried 0.8.6 stables.

some links:
latests snapshots:
http://nightlies.videolan.org/build/win32/
latest "test" 0.9.0 (more stable than snapshots)
ftp://ftp.videolan.org/pub/videolan/tes ... 9.0-test3/ (I can't find windows precompiled files right now)