Windows 7 plugin won't load.

Daniel Grubbs dgrubbs at dexrex.com
Thu Oct 7 11:44:14 EDT 2010


You were spot on there.  It seems I need to include mingwm10.dll with the
plugin.  The real question is why doesn't the plugin need this when running
on Windows Vista. The dependency isn't listed there, and doesn't seem to be
required.

Thanks,
Dan Grubbs

On Wed, Oct 6, 2010 at 4:49 PM, Daniel Atallah <daniel.atallah at gmail.com>wrote:

> On Wed, Oct 6, 2010 at 16:24, Daniel Grubbs <dgrubbs at dexrex.com> wrote:
> > Hi folks,
> > I've got a pidgin plugin with a mysterious problem.  It runs fine if I
> start
> > pidgin from a cygwin command prompt, but it won't load if I start pidgin
> > normally. The debug output is:
> >
> > (16:01:21) plugins: probing C:\Program Files
> > (x86)\Dexrex\DexrexPidginPlugin.dll
> > (16:01:21) plugins: C:\Program Files (x86)\Dexrex\DexrexPidginPlugin.dll
> is
> > not loadable: `C:\Program Files (x86)\Dexrex\DexrexPidginPlugin.dll': The
> > specified module could not be found.
> > (16:01:21) plugins: Unable to find saved plugin C:\Program Files
> > (x86)\Dexrex\DexrexPidginPlugin.dll
> >
> > It seems that the plugin is not being loaded correctly at
> > .\libpurple\plugin.c line 257:
> >
> > plugin->handle = g_module_open(filename, G_MODULE_BIND_LOCAL);
> >
> > I have tried putting the plugin in different locations such as:
> >
> > C:\Program Files (x86)\Pidgin\plugins\DexrexPidginPlugin.dll
> > C:\Users\Dan\AppData\Roaming\.purple\plugins\DexrexPidginPlugin.dll
> >
> > Again, it works fine if pidgin is started under cygwin.
> > I'm pretty sure this all used to work...  Ok, I just checked. It still
> works
> > fine on Windows Vista with Pidgin 2.5.4.  But it doesn't work on my home
> > machine with Windows 7 and Pidgin 2.5.6.  (I think it was some version
> like
> > that.  I'll check when I get home.)  So the problem seems to be just on
> > Windows 7.  (It also seems to work fine with Vista and Pidgin 2.7.3. I
> just
> > checked.)
> > Any ideas?
> > Dan Grubbs
>
> The problem is probably that some dependency of the plugin isn't being
> found.
>
> Using Dependency Tracker (http://www.dependencywalker.com/) on the
> plugin dll will show what it is linked to.
>
> -D
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20101007/82c6b7b1/attachment-0001.html>


More information about the Devel mailing list