Page 1 of 1

libvlc_media_new_callbacks using Active X

Posted: 03 Jun 2016 01:53
by dreadLocks
Hello,

I want to use VLC Active X control in a dialog box using Visual Studio C++ Win32

I installed VLC 3.0.0 32 bit version using the exe installer, then i downloaded the debug version, both from the nightly builds.

After installing the 32 bit version, where do I install the debug version? Should I just copy the debug files replacing the install for the 32 bit version?

It seems both installs have similar files, so I dont know which to use because some of the dlls are registered active X controls from the exe installer, so if i overwrite it with debug dll, it will not be registered anymore.

My aim is the use this new function "libvlc_media_new_callbacks " to stream data to VLC from a partial mp3 file in memory.

How do I call this function "libvlc_media_new_callbacks?

Do i include libvlc.lib from the debug or exe install? then do i include libvlc.h from the debug in my c++ program, then i can call that function above?

Will it work using the active X control placed on a dialog box, by getting a pointer to the ActiveX control and making calls to that function through that pointer to the active X control.

Sorry to ask silly questions, I'm new to active X controls and also new to VLC.

Can anybody maybe give a short code snippit on how to communicate with the VLC active X control that is placed on a Win32 dialog box in Visual C++? and how to call that function "libvlc_media_new_callbacks".

Thanks greatly!!