Open main menu

CDOT Wiki β

Changes

Newsgroup summaries:mozilla-dev-embedding:2006-10-06

3 bytes added, 14:49, 6 October 2006
m
Javascript callback function with C++ embedding
}
</pre>
===Javascript callback How to map a javascript function with to a C++ embeddingfunction===
Define an XPCOM class defining the function you'll be doing in javascript. Then pass the object to your XPCOM coded object and call it from C++. You can find this answered repeated and with an example [http://groups.google.com/group/mozilla.dev.embedding/browse_thread/thread/af33a04e00387f5d/34d897200d736061#34d897200d736061 here]
1
edit