Maybe because both your system and MapWinGIS you installed are x64. I don't know why, but if you're using x64 Windows, install the x86 MapWinGIS.
Then on the VS, go to menu Build >> Configuration Manager.
On the "Active solution platform", create new one. Type "x86" (wihtout quotes) on "Type or select the new platform", OK.
Try compiling it again.
Hope this helps, CMIIW.
Then on the VS, go to menu Build >> Configuration Manager.
On the "Active solution platform", create new one. Type "x86" (wihtout quotes) on "Type or select the new platform", OK.
Try compiling it again.
Hope this helps, CMIIW.