Hello Phil,
the description to the error code says 'No class'. It means precisely, the function EwNewObjectIndirect() has been called with NULL in the aClass argument. Please take a look in the function EwInit() found in the module ewmain.c. There you see the initialization code including following invocation:
RootObject = (CoreRoot)EwNewObjectIndirect( EwApplicationClass, 0 );
The error code occurs while EwApplicationClass is NULL. The question here, why is it NULL? EwApplicationClass is a global variable defined within the generated code in the file Core.c. It is declared in Core.h. As such it should not be NULL. Can you check, whether this variable is correctly defined?
I suppose some version mismatch or some of the object files have not been rebuilt correctly. Have you tried to clean all object files and the make the project again? And of course when switching to newer version don't forget to generate new code with the new EmWi version. Mixing old EmWi Code with new platform package will not work. Also important, have you eventually modified some platform package files?
Best regards
Paul Banach