diff --git a/com/jacob/com/Dispatch.java b/com/jacob/com/Dispatch.java index 97ebf95..d22d966 100644 --- a/com/jacob/com/Dispatch.java +++ b/com/jacob/com/Dispatch.java @@ -232,6 +232,11 @@ public class Dispatch extends JacobObject */ protected native void createInstance(String progid); + /** + * returns the program id if an activeX component created this + * otherwise it returns null. This was added to aid in debugging + * @return the program id an activeX component was created against + */ public String getProgramId(){ return programId; }