My component acts as a wrapper for some external code which happens to live in a DLL. The DLL functions use special constants which are defined in a .h file. The easiest (only?) way to expose the constants to JavaScript are by putting them in the IDL interface.
So I want to have IDL lines which look something like
const unsigned long SeriesOrder = EID_SERIESORDER;
where the RHS is a constant defined in the .h file.
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom
