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

sample plugin, call dll from java script

217 views
Skip to first unread message

karthik sai

unread,
Jan 18, 2013, 5:40:46 AM1/18/13
to
I want a plugin which has some dll files. I want to use those dll from
javascript. I am new to plugin development.
So, I want a simple sample plugin . I am using mozilla firefox 17.

Benjamin Smedberg

unread,
Jan 18, 2013, 12:37:26 PM1/18/13
to karthik sai, dev-tech...@lists.mozilla.org
Are you talking about developing an NPAPI *plugin*, which is usually a
single binary DLL and loaded by web content to display a MIME type like
Flash? Or are you developing a browser extension, primarily written in
JavaScript/XUL and sometimes contain external helper DLLs? It sounds
like you're writing an extension and should ask this question in
mozilla.dev.extensions.

--BDS

jupiter

unread,
Jan 19, 2013, 3:40:32 AM1/19/13
to karthik sai, dev-tech...@lists.mozilla.org
You can call C/C++ function from the extension's java script component.

Here is an excellent article about this

https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes

jupiter

unread,
Jan 19, 2013, 3:40:32 AM1/19/13
to mozilla.dev....@googlegroups.com, dev-tech...@lists.mozilla.org, karthik sai
On Friday, January 18, 2013 11:07:26 PM UTC+5:30, Benjamin Smedberg wrote:

karthi...@gmail.com

unread,
Jan 20, 2013, 12:44:09 AM1/20/13
to karthik sai, dev-tech...@lists.mozilla.org
On Friday, January 18, 2013 11:07:26 PM UTC+5:30, Benjamin Smedberg wrote:
Flash.

I want to know about NPAPI *plugin*, which is usually a

single binary DLL and loaded by web content to display a MIME type like

Flash as you have mentioned. Can you tell me where i can get some samples of such plugins?

Thanks
kk

Raveendra Pai

unread,
Jan 20, 2013, 12:07:26 PM1/20/13
to karthi...@gmail.com, dev-tech...@lists.mozilla.org
refer
https://developer.mozilla.org/en-US/docs/Gecko_Plugin_API_Reference

*RAVEENDRA PAI
*|| ಸರ್ವೇ ಜನಃ ಸುಖಿನೋ ಭವಂತು ||*
*
> _______________________________________________
> dev-tech-plugins mailing list
> dev-tech...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-tech-plugins
>
0 new messages