C# Wrapper or Control

This forum is about all development around libVLC.
SuperTal
New Cone
New Cone
Posts: 1
Joined: 04 Aug 2009 22:26

C# Wrapper or Control

Postby SuperTal » 04 Aug 2009 22:33

Any news on a C# wrapper or control for the latest version 1.0.1? :)

I've googled/binged everywhere and have had no luck getting a simple video to play inside of a windows form (C#)!

Would love to see a How-To article.

DukeNukem
New Cone
New Cone
Posts: 9
Joined: 28 Jul 2009 22:30

Re: C# Wrapper or Control

Postby DukeNukem » 05 Aug 2009 09:25

The .NET wrapper library contains two samples for V1.0.0 of VLC. The samples are very good as they illustrate just the basic steps to put a simple player together - suprisingly little application code required !.

To get the samples to run I had to set the project's output directory to the location of libVlc.dll so that it picks up the necessary dlls and plug-ins.

V1.0.0 library works with V1.0.1 except there is a bug to do with position updates during playback that update the position slider, causing random(ish) exceptions to be thrown; comment out that event handler and use a timer to regularly query the playback position and update the slider from the timer instead.

TTFN,
Jon


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 67 guests