Hello all,

respot I...

I'm search the DeveloperGuide for lifetime and destructing of UNO Objects. 

I found some hints, but my knowledge about is not enough;-\

Some headers offers me the "dispose()"  or another "dispose" methods...

---
com/sun/star/uno/XReference.hdl
com/sun/star/lang/XComponent.hdl
/include/cppuhelper/compbase_ex.hxx
/include/cppuhelper/propshlp.hxx
----
At this time I tried to dispose my XComponents and after disposing it the 
XMultiComponentFactory...

This works exactly one time;(

My soffice instance is broken after calling:

uno_component::query ( xmcFactory )->dispose();
        // uno_component == typedef Reference<XComponent>

I got some "hs_*.log" fiels from the JVM (i.e.: hs_err_pid24391.log).


Calling dispose() on my loaded component only, soffice is usable...

When my own object was deleted all visible OOo View are hidden, but I have
still running many "soffice.bin" prozesses...

My code should work with a remote connection and without them..

If I dispose myself every "UNO XReference" objects in an correct order?
(UNO has reference counting, so I don't  delete all reference manually???)

Something in my code must be strange, so I think that there must some mistakes 
how I'm using UNO;(

Must I work with the Listener?

How is the right way?


Best regards

Andre

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

Reply via email to