Use native code instead of ATL::CImage
Merge pull request #1340 from oioitff/control-patch

Use native code instead of ATL::CImage