Hi there. Currently i'm trying to make an ActiveX wrapper for h323plus. The problem is: it cannot load any codec dlls. I've set path direcories, put codecs in the same dir as activeX etc. Nothing works. So maybe anyone has the same issue and solved it? Console app works well and finds all required dlls.
Read this http://article.gmane.org/gmane.comp.telephony.h323plus/79/match=load+plugin
Basically
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.
In ATL you need to do the following in your H323EndPoint contructor
PPluginManager & pluginMgr = PPluginManager::GetPluginManager(); pluginMgr.LoadPluginDirectory(pluginDir);
This will load the plugins from that directory.
Simon
-----Original Message----- From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com]On Behalf Of Alex Shevchenko Sent: Friday, May 02, 2008 10:51 PM To: h323plus@lists.packetizer.com Subject: [h323plus] Codecs plugin problem
Hi there. Currently i'm trying to make an ActiveX wrapper for h323plus. The problem is: it cannot load any codec dlls. I've set path direcories, put codecs in the same dir as activeX etc. Nothing works. So maybe anyone has the same issue and solved it? Console app works well and finds all required dlls.
-- Best regards, Alex mailto:i.am.skeeet@gmail.com
participants (2)
-
Alex Shevchenko
-
Simon Horne