引用:
可以ActiveX与NPAPI相结合,一个DLL提供两套插件入口,这样不同的浏览器就可以根据自己的需求加载同一个DLL了。但凡这种同时兼容的插件,文件名一般以np开头,导出函数有9个,4个为普通的COM导出函数,3个给NPAPI的。
谢谢,那如果我用ATL写的话,也能用上述的方式来实现吗?与NPAPI相结合?能具体说下用哪些函数么?
办法就是1.vs先建好npapi工程
2.vs建好atl工程
3.把atl工程文件导入npapi工程编绎出来即可
About FireBreath
FireBreath aims to be a cross-platform plugin architecture, targeting:
- NPAPI browsers on windows, mac, and linux:
- Gecko/Firefox
- Google Chrome
- Apple Safari
- Opera (usually)
- ActiveX Control hosts:
- Microsoft Internet Explorer 6, 7, 8, 9, 10, and likely later
FireBreath is licensed under a dual license structure; this means you can choose which of two licenses to use it under. FireBreath can be used under the New BSD license or the GNU Lesser General Public License v2.1.