Put extern "C" guard around stub table definition: In C++, calling convention on functions through function pointers might be influcenced by that. See for example: [http://en.wikipedia.org/wiki/Compatibility_of_C_and_C++]
On SUN's C++ compiler this might generate the warning:  Warning (Anachronism): Formal argument fn_ptr of type ..... in call to ... is being passed ....
Make itclStubsPtr and itclIntStubsPtr in the Itcl stub-library MODULE_SCOPE, so they will not be re-exported when linked into a DLL.