code: public static <T extends Com4jObject> T getActiveObject(Class<T> primaryInterface, String clsid ) {
          return getActiveObject(primaryInterface,new GUID(clsid));
      }
docs: Gets an already object from the running object table.
  
  @param <T> the type of the return value and the type parameter of the class object of primaryInterface
  
  @param primaryInterface The returned COM object is returned as this interface.
  Must be non-null. Passing in {@link Com4jObject} allows
  the caller to create a new instance without knowing
  its primary interface.
  @param clsid The CLSID of the COM object to be retrieved, in the
  "<tt>{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}</tt>" format,
  or the ProgID of the object (like "Microsoft.XMLParser.1.0")
  
  @return non-null valid object.
  
  @throws ComException if the retrieval fails.
  
  @see #getActiveObject(Class,GUID)