H
Hovik Melikyan
I'm trying add a new member to a class that's defined and implemented
in a dynamic library (both Windows DLL and Unix SO). Provided that I
don't change the interface methods and I add this new member field to
the end of the class, will old programs linked against this DLL/so
work with the new version of the dynamic library without
recompilation?
Also: the constructor is not inlined and I'm not going to add new
virtual methods.
(While this is dangerous, of course, but I suspect it is still
possible...)
Thanks,
in a dynamic library (both Windows DLL and Unix SO). Provided that I
don't change the interface methods and I add this new member field to
the end of the class, will old programs linked against this DLL/so
work with the new version of the dynamic library without
recompilation?
Also: the constructor is not inlined and I'm not going to add new
virtual methods.
(While this is dangerous, of course, but I suspect it is still
possible...)
Thanks,