开发者

can i add external dll to npapi plugin , that suppos to be installed in the browser?

开发者 https://www.devze.com 2023-04-11 09:46 出处:网络
Im building plugin to FF and Chrome , this plugin needs to call API methods that are in external dll/so . can i bundle that npapi plugin with exter开发者_开发问答nal dll in the plug ? Of course you ca

Im building plugin to FF and Chrome , this plugin needs to call API methods that are in external dll/so . can i bundle that npapi plugin with exter开发者_开发问答nal dll in the plug ?


Of course you can. Keep in mind that some people seem to have trouble getting a linked DLL to load from the plugin DLL directory, so you might need to delay load it and set the DLL search path on plugin startup to search in the directory the plugin is in, but you can install the dependency along with the plugin DLL.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号