You need to be logged in to post in the forums. If you do not have an account, please sign up first.
How to call a c/c++ function from java script.
Hi,I am working on opera-linux-devices-sdk-10.15-x86.
I am trying to write custom opera plugins for my application.
I have created a shared library .so which is having C/C++ functinality defined.The .so file is placed in opera_dir\Jsplugin\
How to call these function using the java script file.
Any would be appreciated.
Thanks in advance,
Dharmender
This is a good place to get started with plugins: https://developer.mozilla.org/en/Gecko_Plugin_API_Reference .
It's a page from Mozilla, but it describes the NPAPI which Opera also implements.
For making calls to JavaScript, see https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Scripting_plugins .
It's a page from Mozilla, but it describes the NPAPI which Opera also implements.
For making calls to JavaScript, see https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Scripting_plugins .
Forums » Opera for Windows/Mac/Linux » Opera for *nix - Linux/FreeBSD