QUILLET Jean-Charles wrote:
-----Message d'origine-----
After a few investigations, it seems that my problem is related to the fact that I'm serializing polymorphic objects through a plugin system. I think the linux version should be the good one as no class_id is missing. It seems that there is something that might solve my problem in boost 1.4* reading this:
http://www.boost.org/doc/libs/1_43_0/libs/serialization/doc/special.html#dll...
I understand that I might have redundant serialization code in my application and in the shared librairies: one version might be called on windows and another one from linux (pure speculation) producing two versions of a serialized object.
Does anyone have any experience with this ?
This is a situation I have been concerned about. New versions of the library include code to address this. However, your code might invoke an assert trap rather than failing as it does now. My argument is that this is an improvement - not every one agrees however. My recommendation is a) upgrade to lastest boost released b) structure your code so that code is not repeated across DLLS Robert Ramey