Marcel,
>I my template many methods have same code ( ERROR Handling etc .. )
>
>What is your alternative to address this code duplication ?
For my design where there is duplicated code, Error() for example all of my first level baseclasses call a UDF: ObjError( this, nError, cMethod, nLine ) so the duplicated code is kept at an absolute minimum. I can't say that I have much other duplicated code that doesn't wind up being put into a higher level location, either higher up the inheritance tree or higher up the containership hierarchy.