Hello, meanwhile I have the answer to my question found myself. In file odk/unxlngi4.pro/misc/java_src/com/sun/star/lib/uno/typedesc/TypeDescription.java in found the code with the superOffset.
If a class has a superclass I have to add the number of methods in that class to the offset in calculationg the method id, I that class has a superclass ... the same again. The special case is XInterface where the method ids are "hard wired". Cheers, Arnulf Am Donnerstag, 30. Juni 2005 10:39 schrieb Arnulf Wiedemann: > Hello, > I am looking for the place in the ooo source code where the conversion from > the method name to the internal method id is done, i.e. XIdlMethod > getParameterInfos has the internal method id 7. > > I had the idea that the rule is use the method number from the types.rdb > file and add 3 to it because of the reserved methods queryInterface, > acquire and release with the method ids 0, 1 and 2, but for the example > above that is not true, because in types.rdb > getParameterInfos has method#2 and would become method id 5, but the sent > value is 7. > > Any help or link to docu is appreciated. > Thanks, > Arnulf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
