vray plugin example compile error in visual studio 2010 & 2012

hi,

I try to compile the vray plugin examples (C:\Program Files\Chaos Group\V-Ray\Maya XXXX for x64\samples) in visual studio 2010(for maya2014, vray 3.1) and visual studio 2012(from maya 2015, vray 3.1) but got similar warning & error.
Basically i follow the step mentioned in this post: http://forums.chaosgroup.com/showthread.php?76492-Plugin-samples-won-t-open-build-in-Visual-Studio-2010&p=608590#post608590
with include & library path set to:
C:\Program Files\Chaos Group\V-Ray\Maya XXXX for x64\include
C:\Program Files\Chaos Group\V-Ray\Maya XXXX for x64\lib\x64\vc11 (or vc101)

The warnings are all related to DLL interface, and i thinks the error maybe caused by the same issue. Is there any other settings that i not considered ?

Thanks.

The warnings related to DLL interface you can safely ignore; we will fix them at some point, but they do no harm and are not reasons for any errors. It would help if you can post the specific error that you are getting.

Best regards,
Vlado