Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Windows plugin works with FF on trunk, but not FF released

3 views
Skip to first unread message

Mike C

unread,
Jul 26, 2011, 3:33:04 PM7/26/11
to dev-tech...@lists.mozilla.org
Hi All,

This is my first post to this list.

I have an FF on Windows plugin that works in both 3.x and 5.x. I have a
dual build config.

The 5.x plugin will load and work fine from the FF source I pulled down an
built myself, but it won't load and work with the standard FF 5.x release.

I initially pulled down the entire FF source tree to debug why my plugin was
not loading, only to find that with my home built source, the plugin does
load. So I'm still stuck.

about:plugins shows my plugin, but I assume that's only because the code for
about:plugins just looks at the version info.

When using FF 5.x release, my plugin DLL never gets loaded when the MIME
type for my plugin is parsed, therefore NP_Initialize never gets called.

But, like I stated, when I open the same HTML page in FF 5.x debug, my
plugin DLL is loaded and NP_Initialize is called.

Anyone else ever run into this?

Thanks,

Mike

Benjamin Smedberg

unread,
Jul 26, 2011, 4:28:37 PM7/26/11
to Mike C, dev-tech...@lists.mozilla.org
On 7/26/2011 3:33 PM, Mike C wrote:
> Hi All,
>
> This is my first post to this list.
Welcome.

>
> I have an FF on Windows plugin that works in both 3.x and 5.x. I have a
> dual build config.
>
> The 5.x plugin will load and work fine from the FF source I pulled down an
> built myself, but it won't load and work with the standard FF 5.x release.
The most common issue here is that you are linking against some library
or symbol which is not present in a release version. Are you linking
against any Mozilla library (you shouldn't be). What version of the C
runtime library are you using (you should probably be using the
statically linked version).

You can use the dynamic mode of dependency walker to view any of these
sorts of errors: http://www.dependencywalker.com/

> about:plugins shows my plugin, but I assume that's only because the code for
> about:plugins just looks at the version info.

That is probably correct.

--BDS

PAMELAChang28

unread,
Oct 19, 2011, 8:04:22 AM10/19/11
to
Don't you know that it's correct time to receive the <a href="http://goodfinance-blog.com/topics/credit-loans">credit loans</a>, which can help you.


credit loans

unread,
Nov 2, 2011, 6:30:30 PM11/2/11
to
Houses are quite expensive and not everyone can buy it. But, personal loans are invented to help different people in such kind of situations.


personal loans

unread,
Dec 7, 2011, 10:02:00 PM12/7/11
to
freelance writer


0 new messages