Hi Christoph,
On Wed, 2005-03-09 at 14:36 +0100, Christoph Fuenfzig wrote:
> could it be a problem with mixing different runtime libraries. OpenSG is
> built with MT DLL / MT DLL DEBUG runtime
> libraries.
> Are there some good rules on what mixing is allowed or not allowed? Or
> is mixing never allowed?
It doesn't feel like this is the problem, but in general mixing in never
allowed.
Mixing doesn't result in compiler problems, just in programs that don't
work. ;) The main problem is that mixing results in multiple separate
heaps, and the necessity to free a memory block in the same dll that
allocated it, which clashes with STL and inline methods.
So the rule is: never mix!
Dirk
--
Dirk Reiners <[EMAIL PROTECTED]>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users