Hi Bernard,

Bernard Marcelly wrote:

According to IDL description of XLibraryContainer.loadLibrary it is useless to test if already loaded: "Causes the accessed library to be loaded from its storage if it hasn't already been loaded."

Simplifies a great deal. Thanks for that.

Try to simply load the library and see if the problem persists.
I have never experienced such error.
It may be due to the names of your dialog library and module.

Indeed, the problem only exists if I call 'isLibraryLoaded'.

Personnally I prefer the getByName method:

DialogLibraries.LoadLibrary("x")
myLib = DialogLibraries.getByName("x")
myDialog = myLib.getByName("dlgx")
oDlg = CreateUnoDialog(myDialog)

Does that have a reason, that I might be able to understand :-) ?

Regards,
Cor
--

Cor Nouws
Arnhem - Netherlands
nl.OpenOffice.org - marketing contact

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to