C# activex,how to retrieve log messages in txtbox

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
prince2485
Blank Cone
Blank Cone
Posts: 21
Joined: 15 Jul 2011 07:09

C# activex,how to retrieve log messages in txtbox

Postby prince2485 » 15 Jul 2011 07:23

hello frnds,
i m wrking on project based on vlc player in c#.
i m using version 0.9.2 grishenko
firstly i want to capture/display all log message in runtime while video is playing ,
i searched lots in goggle, i doesnt get much except dis code :

if (axVLCPlugin21.log.messages.count > 0)
{

AXVLC.IVLCMessageIterator iter = axVLCPlugin21.log.messages.iterator();
while (iter.hasNext)
{
AXVLC.IVLCMessage msg = iter.next();
vlclog.AppendText(msg.severity + " - " + msg.type + " - " + msg.name + " - " + msg.message + "\n");

}
axVLCPlugin21.log.messages.clear();
}
link: viewtopic.php?f=16&t=32414
but i m getting a error
"Cannot implicitly convert type 'AXVLC.IVLCMessage' to 'AXVLC.IVLCMessages'. An explicit conversion exists (are you missing a cast?)"
tx in advance .W8ing 4 pos. reply...

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 15 guests