Found the problem - a seriously buggy Clarion IDE. Full of
inconsistencies. Instruction the IDE explicitly to not link the
manifest is ignored and the manifest resource is still included in the
project. Sometimes it removes it and sometimes it does not. I am
checking all apps now and explicitly removing it for those where the
checkbox do not link is not working.

Thanks for the help Lee and Charles - learnt another nuance and
something about manifests.

Andre