This documentation is archived and is not being maintained.

Compatibility Issue in Directive @com.register

Visual Studio 2005

Incompatibilities with Visual J++ 6.0 exist in the set of interfaces exposed by COM Callable Wrappers (CCWs) of the Java-language components. In Visual J#, the following interfaces are not exposed by the CCWs:

  • IProvideClassInfo2 and IExternalConnection

  • IPersist, IPersistStreamInit, and IPersistStorage (exposed in the Microsoft Java Virtual Machine when a class implements java.io.Serializable or java.io.Externalizable)

  • Marker interfaces com.ms.com.NoAutoMarshaling and com.ms.com.NoAutoScripting on the class are ignored. This could lead to run-time compatibility issues with respect to Visual J++ 6.0.

  • There is currently no support to sink events fired by Java-language/COM classes in COM clients.

Show: