Trying to call the constructor does not allow to assemble the library, because:
error C2614: VlcMediaPlayer: invalid member initialization: "VlcMediaPlayer" is not a base class or member
public ref class VlcMediaPlayer
{
public:
...
explicit VlcMediaPlayer(array<String^>^ args);
explicit VlcMediaPlayer(array<String^>^ args, LogMessage^ log);
...
}
VlcMediaPlayer::VlcMediaPlayer(array<String^>^ args) :
_vlcData(nullptr),
_vlcInstance(nullptr),
_vlcMediaPlayer(nullptr),
_media(nullptr),
_pausable(false),
_isPlaying(false),
_vlcAudio(nullptr),
_vlcEvents(nullptr)
//_vlcVideo(nullptr)
{
...
}
VlcMediaPlayer::VlcMediaPlayer(array<String^>^ args, LogMessage^ log) : VlcMediaPlayer(args)
{
...
}
How can I call another constructor?