On Aug 25, 4:12 am, Ian Collins <ian-n...@hotmail.com> wrote:
On 08/25/10 02:50 PM, BGB / cr88192 wrote:
[...]
similarly, it is not really "safe" to use C++-based APIs
across library boundaries, nor for that matter to pass
memory or file references between DLL's (this leads to "fun"
sometimes...).
That is very platform specific. Those restrictions don't
apply to Unix or Unix like systems.
Which part of his statement are you referring to? It's not safe
to use C++ based APIs (with std::string, etc.) between code
compiled with different compiler options, with the same
compiler. And there's no problem passing memory or file
references between dynamically loaded object files on any of the
systems I've worked on, Windows or Unix. (We do it all the time
under Windows, here, and we did it regularly under Solaris and
Linux where I was before.)
this may depend some on the specific compiler, ...