THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/07/2006 at 20:07, xxxxxxxx wrote:
Cinema 4D Version: 9.102
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
I knew that this had to be asked here eventually, but now seems like a good time (maybe even a little late - even though I'm still in beta-testing and have warned beta-testers).
It is easy enough to keep my plugin preferences backward compatible as well as my plugins' Read/Write/CopyTo using DiskLevel. Is there any way to do something similar with the Description Resources (.res, .h, .str) for my plugins?
The problem here is that the user is importing content which relies upon, from there, tag and object plugins. The expectation is that the users save the imported content as C4D documents for later reuse (to avoid reimportation). As these plugins acquire new features or are fixed/changed, these saved documents start causing issues and crashes since the descriptions of the plugins are changing - as well as the source code. Simply appending the enumerations won't solve this - since lack of this data in later versions may cause issues with the updated source.
How can one do this without retaining every version of a method that has changed? And even that would be insufficient or dangerously insane if the code is necessarily modified to a greater degree.