描述:
#import "E:\现在的工作\TypeLib\VirtualWorldCore.tlb" raw_interfaces_only, raw_native_types, no_namespace, named_guids, exclude("IAsyncManager","ISpatialReference", "IGeometry", "IPoint", "IPolygon", "IPolyline","geoGEOMETRYTYPE","IRing","IPath","IPoint","geoUnits","IClone","IGeoGridDBLayer","tagGrid_MAPTYPE","geoEllipsoidStyle","geoEllipsoidStyle","IGeoGridDBPyramid","geoProjectionStyle","tagGrid_COMPRESSFLAG","IGeoGridDB","IID_IGeoGridDB","IGeometryCollection","IID_IGeoGridDB","IID_IGeometry","IEnvelope")
对不起,比较长,我主要是想知道raw_interfaces_only,raw_native_types,no_namespace,named_guids,exclude("接口名...")是什么意思,望高人指教
解决方案1:
你这是导入COM的类型库。
你说的那些import的属性,不是一下子讲得清的。
你可以参考下面的网页,自己去体会。。。
http://www.lzu.edu.cn/netteach/bcyy/newles/vc/reference/Course03/Course_31.htm