Hi Kay, thanks for the short and informative description, now I understand it. Arnulf
Am Donnerstag, 30. Juni 2005 13:46 schrieb Kay Ramme - Sun Germany - Hamburg: > Arnulf, > > Arnulf Wiedemann wrote: > > 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. > > The indexing of methods does start with the next free index after > indexing all inherited methods: > > - XInterface has three methods > - XIdlMemeber (which inherits from XInterface) has two methods > - XIdlMethod (which inherits from XIdlMember) has six methods, > "getParameterInfos" being the second > > => 3 + 2 + 2 = 7 > > > Any help or link to docu is appreciated. > > Thanks, > > Arnulf > > Kay > > > --------------------------------------------------------------------- > > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
