Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-09 Thread Stephan Bergmann
Marten Feldtmann wrote: What a nonsense ... the BASIC program is the following and I think, that it does pretty much the same as done in climaker IIRC, at least a long time ago there were problems with createTypeDescriptionEnumeration and particular arguments to it. Did you experiment

Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-09 Thread Marten Feldtmann
Stephan Bergmann schrieb: Marten Feldtmann wrote: What a nonsense ... the BASIC program is the following and I think, that it does pretty much the same as done in climaker IIRC, at least a long time ago there were problems with createTypeDescriptionEnumeration and particular arguments

Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-09 Thread Marten Feldtmann
And Jürgen Schmidt answered this question around August-2005. Here is the corrected code for the problem .. Sub MyReflectionTest Dim enumeration as Object Dim typeDescription as object dim valueArray(0) dim level valueArray(0) = com.sun.star.uno.TypeClass.SERVICE servicemgr =

Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-07 Thread Marten Feldtmann
What a nonsense ... the BASIC program is the following and I think, that it does pretty much the same as done in climaker REM * BASIC * Sub Main MyReflectionTest End Sub Sub MyReflectionTest Dim oTypeDescriptionProvider as Object Dim enumeration as Object Dim

Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-06 Thread Marten Feldtmann
if you want to programmatically determine all types, you could use the com.sun.star.comp.stoc.RegistryTypeDescriptionProvider service. For example the climaker uses it to create all cli types from UNO types. Have a look at cli_ure/source/climaker/climaker_app.cxx. Eventually

Re: [dev] OLE, Source code generation and reflection ... the boring story ...

2007-10-02 Thread Joachim Lingner
If you want to programmatically determine all types, you could use the com.sun.star.comp.stoc.RegistryTypeDescriptionProvider service. For example the climaker uses it to create all cli types from UNO types. Have a look at cli_ure/source/climaker/climaker_app.cxx. Eventually