Quote Originally Posted by oldnewbie View Post
Paul:

Thank a lot for your answer. Although I'm not sure to been fully understood all your advices, I try to follow them, so there is the new code -the error remains-.
You're still not using code tags.

Second, either get rid of the #define macro and replace with regular template code, or turn on the preprocessor generation and get the real code from the preprocessor output. Then we can all see what that macro expands to. By making macros, you are in effect hiding the code, and what that macro expands to is the whole ballgame.

That is one of the first things you should have done -- see exactly what you are attempting to compile.

Regards,

Paul McKenzie