<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><div style="font-family: times new roman,new york,times,serif; font-size: 10pt;">Hi,<br><br>When I said "all works fine", I refered to the loading of plugins, I have not tested Myphone2 with a videocall, so I have not seen the bug on CVideoOutputDevice. BTW, thank you Simon for your help regarding my OCX (MFC) problem. Now, all the plugins are loaded.<br><br>Anyway, if I can solve the CVideoOutputDevice bug, I will contribute the solution to the community.<br><br>Best regards,<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Mensaje original ----<br>De: Simon Horne <s.horne@packetizer.com><br>Para: JF NP <jfnp090274@yahoo.es>; h323plus@lists.packetizer.com<br>Enviado: viernes, 11 de enero, 2008 9:55:38<br>Asunto: RE: [h323plus] Question
 about plugin codecs<br><br><br>What type of OCX is it? MFC or ATL. Its important as they behave
 differently with plugins. The problem is that the default directory for Ptlib
 when using COM (.ocx) is the desktop. Which is really annoying. <br><br>In ATL you need to do the following in your H323EndPoint contructor<br><br>PPluginManager & pluginMgr = PPluginManager::GetPluginManager();<br>pluginMgr.LoadPluginDirectory(pluginDir);<br><br>This will load the plugins from that directory.<br><br>If you are using MFC as with the case of MyPhone2 then there is a
 little more complicated so look at MyPhone2's CMyPhoneEndPoint() constructor
 to see how the plugins are loaded.<br><br>Also you mentioned that you have MyPhone2 working with PtLib. Currently
 the CVS's MyPhone2 CVideoOutputDevice class is broken and does not
 display the video output correctly. It's a know problem that I have not
 yet got around to fixing. A small contribution back to the project on
 this would be appreciated for the benefit of the community. <br><br>Simon<br><br><br><br>-----Original Message-----<br>From: <a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>
 [mailto:<a ymailto="mailto:h323plus-bounces@lists.packetizer.com" href="mailto:h323plus-bounces@lists.packetizer.com">h323plus-bounces@lists.packetizer.com</a>]On Behalf Of JF NP<br>Sent: Friday, January 11, 2008 12:30 AM<br>To: <a ymailto="mailto:h323plus@lists.packetizer.com" href="mailto:h323plus@lists.packetizer.com">h323plus@lists.packetizer.com</a><br>Subject: [h323plus] Question about plugin codecs<br><br><br>Hi all,<br><br>I have successfully compiled both PTLib and H323Plus on Windows. I've
 also compiled and tested MyPhone2. All goes fine. But I have another
 sample app written by myself that is an OCX (which links with PTLib and
 H323Plus) that manages all the H323 stuff and an EXE that uses the OCX to
 make a simple videocall. The problem is that my app cannot find the
 plugin codecs (neither audio nor video). I think that the problem could
 be related to the fact that I am using an OCX linked with PTLib, instead
 of an EXE. Is this correct? Is there any solution or workaround?<br><br>Best regards,<br><br><br><br><br><br>Web Revelación Yahoo! 2007:<br>Premio Favorita del Público - ¡Vota tu preferida!<br><br></div><br></div></div><br>


      <hr size=1><br><font face="Verdana" size="-2">Web Revelación Yahoo! 2007:<br> Premio Favorita del Público - <a href="http://es.promotions.yahoo.com/revelacion2007/favoritos/">¡Vota tu preferida!</a></font></body></html>