Hi Laurent,
I even tried to statically link both dlls, adding the static preprocessor definition and changing the lib files to the xxx-s-d.lib ones. The compiler detected a lot of errors, more than 50. So I went back to dynamically linking.
Of course, I am doing something wrong, something very basic, but I cannot identify what.
Thanks for your support.
Eduardo Quintana