On May 19, 2010, at 6:37 PM, denis wrote: > using OOo SDK 3.2, the attached C++ example of a manually created bridge > segfaults while accessing the instance of com.sun.star.frame.Desktop > (the last line in the test-function).
Set up that way, the UNO environment bootstrapped in your client process will only know about the basic URE UNO types, not any OOo-specific ones like com.sun.star.frame.XDesktop, hence the runtime problems. (There should be an old interface-announce mail detailing that, but I currently don't find it.) You should seriously consider using the "simple bootstrap" mechanism (<http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Transparent_Use_of_Office_UNO_Components>) in your client application, shielding you from the details of bootstrapping an appropriate UNO environment. -Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
