上一页 1 2 3 4 5 6 ··· 14 下一页

2012年4月6日

摘要: 代码: 1 int main() 2 { 3 hrRetCode = CoInitialize(NULL); 4 KG_COM_ASSERT_EXIT(hrRetCode); 5 CComPtr<IHello> spHello = NULL; 6 spHello.CoCreateInstance( CLSID_HELLO ); 7 KG_ASSERT_EXIT(spHello); 8 ... 9 Exit0:10 CoUninitialize();11 return 0;12 }//运行结束后会崩溃原因:智能指针通过栈上... 阅读全文
posted @ 2012-04-06 16:49 Joshua Leung 阅读(294) 评论(0) 推荐(0) 编辑

2012年3月30日

摘要: Tables are the basic objects in the database used to store data as well as data about data (metadata). In a geodatabase, there are system tables that store information about the other tables, records, and indexes in the geodatabase. These are called metadata tables or repository tables.There are als 阅读全文
posted @ 2012-03-30 15:45 Joshua Leung 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Feature and Feature Classes.Feature classesare homogeneous collections of common features, each having the same spatial representation, such aspoints, lines, orpolygons, and a common set of attribute columns, for example, a line feature class for representing road centerlines. The four most commonly 阅读全文
posted @ 2012-03-30 15:19 Joshua Leung 阅读(247) 评论(0) 推荐(0) 编辑

2012年3月29日

摘要: 一、关于IWorkspace 和 IWorkspaceFactoryWorkspace对象实现IWorkspace,Workspace(工作空间)是一个类(Class),用户不能直接创建它,为了获得一个工作空间,需要使用WorkspaceFactory(工作空间工厂)对象来创建一个Workspace。WordspaceFactory是GeoDatabase的入口。它是一个抽象类,派生了许多的子类,例如AccessWorkspaceFactory,ShapefileWorkspaceFactory等,这些对象都实现了IWorkspaceFactory接口,不同类型的文件需要不同的工作空间工厂对象 阅读全文
posted @ 2012-03-29 17:45 Joshua Leung 阅读(351) 评论(0) 推荐(0) 编辑
摘要: In this topicInterface inheritanceInbound interfacesOutbound interfacesInterface membersInterfaces are the access points for development with COM objects. There are inbound interfaces, which expose the properties and methods of a class, and outbound interfaces, which allow the class to interact with 阅读全文
posted @ 2012-03-29 14:54 Joshua Leung 阅读(203) 评论(0) 推荐(0) 编辑
摘要: There are three types of classes shown in the UML diagrams: abstract classes, coclasses, and classes.Acoclassrepresents objects that you can directly create using the object declaration syntax in your development environment. In Visual Basic, this is written with theDim pFoo As New FooObjectsyntax.[ 阅读全文
posted @ 2012-03-29 14:32 Joshua Leung 阅读(209) 评论(0) 推荐(0) 编辑
摘要: ArcObjects is a set of platform-independent software components, written in C++, that provides services to support GIS applications on the desktop in the form of thick and thin clients and on the server.As stated, the language chosen to develop ArcObjects was C++; in addition to this language, ArcOb 阅读全文
posted @ 2012-03-29 11:32 Joshua Leung 阅读(211) 评论(0) 推荐(0) 编辑
摘要: What Is ArcGIS Engine?ArcGIS Engine is acollection of embeddable GIS components and developer resources that can beused to extend ArcGISor build your own applications.Developers use ArcGIS Engine to deploy GIS data, maps, and geoprocessing scripts in desktop or mobile applications using application 阅读全文
posted @ 2012-03-29 11:19 Joshua Leung 阅读(703) 评论(0) 推荐(0) 编辑
摘要: In the geodatabase, attributes are managed in tables based on a series of simple yet essential relational data concepts:Tables contain rows.All rows in a table have the same columns.Each column has a data type, such as integer, decimal number, character, and date.A series of relational functions and 阅读全文
posted @ 2012-03-29 10:30 Joshua Leung 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Fundamental GIS concepts are closely linked to maps and their contents. In fact, map concepts form the basis for understanding GIS more fully. This topic explores some fundamental map concepts and describes how they are applied and used within GIS.MapsA map is a collection of map elements laid out a 阅读全文
posted @ 2012-03-29 09:37 Joshua Leung 阅读(242) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页

导航