Hi,
I am writing an OO.org extension that is a thin wrapper around a C++ library, which is compiled externally. So far, so good. However, I started to get strange problems with std::string objects. I was getting strange results from the library. Then I realized that std::string::length() in the extension was delivering bad data, like -121387687 . strlen() on .c_str() of a std::string from the extension did the work, till there was a place where there is a copy-ctor called in the library with parameter a std::string from the extension. Then I recalled OO.org is being compiled with STLPort, while the library uses the platform's (Linux) STL implementation and there is probably a class. ldd tells me that soffice.bin is references the native STL implementation. How can I get access to it in my extension? I read a bit about STLPort and saw that there is a mode in which using macro magic std:: is changed to the stlport's namespace. Is this being used in OO.org?

Thanks for any advice!

Andrey

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

Reply via email to