You can disable this include. There is also another problem few lines below with language code. We can disable this line of code for time being.

Hit F7. You’ll get error message that points into VersionInfo.rc file. There are several defines referencing MFC. You can disable those line for time being. (FILEFLAGMASK, FILEOS, FILETYPE, FILESUBTYPE)

Hit F7 and now you’ll get AIP package 🙂

Open Illustrator and configure path to Additional Plug-ins folder. Click Edit – Preferences – Plug-ins & Scratch Disks and set path to the folder where Visual Studio produced that aip file. It will be in directory Adobe Illustrator CC SDK\samplecode\output\win….

Click OK, restart Illustrator.

Tadaaa, plug-in is working:

Result:

For more information about plug-ins read getting-started-guide.pdf document in SDK directory docs\guides. 🙂