In case the source .h file does not contain the line:
using namespace xlw;
the generated file fails to compile. The generated file should contain this line to prevent this error.
Accepted, obviously the workaround is simply to add this line.
fixed in svn revision 1304 will be in next release