[vlc-devel] plugin build using MS VC++

Rémi Denis-Courmont remi at remlab.net
Wed Oct 24 13:11:28 CEST 2012

On Tue, 23 Oct 2012 11:57:08 +0800, "neil3d"<neil3d at 126.com> wrote:
> Is it impossible to developing plugins in MS VC++?

You need to use the same C run-time in the plugin as in the rest of the
(vlc.exe) process. I have no idea if that is possible with MSVC, but it is
safe to assume that it is not.

> I have compiled the "video_output/vdummp.cpp" and make the plugin
> but meet a heap corruption in var_InheritString(). It seems that call
> free() to a pointer alloced by vlc.exe. 

Mixing C run-times in a single process is undefined. VLC is not an
exception to the rule.

Rémi Denis-Courmont
Sent from my collocated server

More information about the vlc-devel mailing list