X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=projects%2Factivex%2Fvlccontrol.h;h=31b6919fad3273483f865875b2efee03e119cac8;hb=83b4e8360bcb89dfbd1f773a92fcde9e024a98ac;hp=35e8fde8b7a654540e769a95f71b77e46885dcb7;hpb=e996cbefaf0f8db55513071b9678242e0a7733da;p=vlc diff --git a/projects/activex/vlccontrol.h b/projects/activex/vlccontrol.h index 35e8fde8b7..31b6919fad 100644 --- a/projects/activex/vlccontrol.h +++ b/projects/activex/vlccontrol.h @@ -105,8 +105,7 @@ private: { if( ! libvlc_exception_raised(ex) ) return NOERROR; - _p_instance->setErrorInfo(IID_IVLCControl, - libvlc_exception_get_message(ex)); + _p_instance->setErrorInfo(IID_IVLCControl, libvlc_errmsg()); libvlc_exception_clear(ex); return E_FAIL; }