Arnulf Wiedemann wrote:
Hi Stephan,
I did debug and found out the following (also for other people having the same
problem):
A XTypeDescriptionEnumerationAccess needs to be created:
either with a createInstanceWithArgumentsAndContext with an argument being an
opened XSimpleRegistry object
(for example //file:///<directory_where_the_registry_resides>/types.rdb)
or there must be a call to XInitialization.initialize with such an object in
the argument sequence of the initialize call.
The noSuchTypeName exception is also thrown, if there is no registry at all to
look for the key (that was my problem).
Bye,
Arnulf
You did not tell how you obtained a UNO object that implements
XTypeDescriptionEnumerationAccess. Did you use the
com.sun.star.reflection.TypeDescriptionManager service obtainable as a
singleton
("/singletons/com.sun.star.reflection.theTypeDescriptionManager") at the
component context? See the UNOIDL documentation of
com.sun.star.reflection.TypeDescriptionManager.
-Stephan
Am Dienstag, 5. Juli 2005 16:44 schrieb Stephan Bergmann:
Arnulf Wiedemann wrote:
Hi Stephan,
yes I did, I tried different values and also an empty sequence with the
same result. I also tried to just use "com" and "ucr.com" and with "::"
and "/" as separator as module with no success.
Bye,
Arnulf
If you want to debug this, the code for the type description manager is
in stoc/source/tdmanager, and the code for the .rdb-based type
description provider (which is consulted by the type description
manager) is in stoc/source/registry_tdprovider).
-Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]