Defining methods

To define methods, you must specify each method’s return type and the number, datatypes, and modes of the method’s parameters. See “ActiveX datatype support” for more information.

Do not use two consecutive underscores in method names—the underscores and the text following the underscores are deleted when stubs and skeletons are generated. This issue is related to function overloading, which is allowed in Java and C++ but not in ActiveX components. See “Operation declarations” for more information.

WARNING! You cannot define methods with names that differ only in case—IDL does not support this.