Page 1 of 1

Working with mediacontrol

Posted: 16 Feb 2009 12:27
by tamiro44
Hi guys,
How can i work with mediacontrol API?
Is there any DLL that incapsulate these API?
I want to activate display_text() function.

Thanks,
Tamiro.

Re: Working with mediacontrol

Posted: 16 Feb 2009 21:14
by RĂ©mi Denis-Courmont
Mediacontrol is exposed directly by libvlc.dll

Re: Working with mediacontrol

Posted: 16 Feb 2009 22:43
by tamiro44
Hi Remi,
Does diplay_text() is exposed directly by libvlc.dll?
Tamiro.

Re: Working with mediacontrol

Posted: 18 Feb 2009 03:39
by MidnightCoder
Hi Remi,
Does diplay_text() is exposed directly by libvlc.dll?
Tamiro.
display_text() is exposed directly by libvlc.dll but I'm not able to call it w/o getting a Acess Violation. If it were not exposed, I would get a "unable to find entry xxx" error isntead. Any expert in this area can help us here?

Code: Select all

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt at VideoLan.InteropMethods.mediacontrol_display_text(IntPtr p_media_player, String message, Int32 begin, Int32 end, libvlc_exception_t& p_exception)