I'm pretty sure you can't delete Microsoft's licenses
from their generated files (like winmain) and then
distribute it as GPL.  That's what I remember from
reading VC++ 6.0 license before I stopped using
Microsoft products altogether.