Windows phone was not going to work because the brand is herpes, and Microsoft makes technical decisions based on business strategy rather than merit (and everybody know it.) It had nothing to do with the amount of resources put into it, which I'm sure were vast; Microsoft is happy to lose money in markets for a decade or two in order to block new entrants, waiting for the market leader to make a mistake. If people wanted a phone that would trap them into a rent-seeking ecosystem, they already had a choice in iPhones that was at least attractive and common.
Meego phones could have slotted into the nerd/serious phone category that various Android distributions have awkwardly tried to fit in. It would have also been a non-US alternative for markets like Europe and China. They also could run Android apps within a VM.
If you agree Windows phone was never going to work, then you need a story how Meego could have worked when Nokia had a fraction of the resources to put into it.