vc++ 2008 project

Discussion created by rhorner on Aug 15, 2011
Latest reply on Aug 18, 2011 by CWang-esristaff
Does anyone have a sample visual studio 2008 c++ project for Arcgis 10.0?  I've got a 9 project that needs licensing changes for 10.  I'm having difficulty with the #imports in the stdafx.h file.

#import "/Program Files (x86)/ArcGIS/Desktop10.0/com/esriGeodatabase.olb" named_guids no_namespace raw_interfaces_only no_implementation rename("Field","ESRIField") rename("Fields","ESRIFields") rename("IRow","IESRIRow") rename("GetMessage", "esriGetMessage"), exclude("ICursor","IRelationship"), exclude("IFunctionalSurface")

I still get IFuncionalSurface : base class undefined, and as you can see I gad to do a lot of renaming and excluding to get this far.

Any help or samples would be appreciated.