Microsoft SDK for Java

StdCOMClassObject Class

The StdCOMClassObject class of the com.ms.com package supports the implementation of custom COM class objects.

public abstract class StdCOMClassObject
{
  // Methods
  protected IUnknown createInstanceImpl(IUnknown punkOuter);
  protected IUnknown createControlImpl(IUnknown punkOuter);
  protected void lockServerImpl(boolean lock);
}

See the COM Class Object sample in %SDKDIR%\Samples\COM\COMClassObject for a demonstration of implementing a custom COM class object and implementing a small client that co-creates the object through the Java interface.

See Also

Creating a Custom Class Object

© 1999 Microsoft Corporation. All rights reserved. Terms of use.