节点文献
机械CAD软件VC++数据库应用程序设计技术
Database Operation in Developing Mechanical CAD Software Using Visual C++
【摘要】 真正的机械CAD系统软件离不开对数据库的操作。结合小型数据库MirosoftAccess,针对用VisualC ++开发机械CAD系统软件时进行数据库操作的一些关键问题进行了阐述。基于对ODBC和DAO的比较认识 ,介绍了如何用DAO直接读取单表数据库以及如何用DAO和ODBC读取ODBC所管理的单表数据库 ;基于对多表操作进行的一些探讨 ,提出了处理多表操作的两种方法 ;此外还对ODBC的自动注册问题提出了解决方案。所给出的一些程序代码能对解决机械CAD系统软件开发过程中的数据库操作问题起到有效的参照和指导作用
【Abstract】 Database operation is indispensable to a real mechanical CAD system. Taking Microsoft Access as an example, this paper discusses some critical problems in developing mechanical CAD software using Visual C++. Based on the comparative acknowledgement on the ODBC and DAO, the authors respectively introduce how to use DAO to read the single-table database directly and how to use DAO and ODBC to read the single-table database managed by ODBC. Based on the on the attempts to access the multi-table database, the authors put forward two methods to deal with the operation of multi-table database. Besides, the authors give solution to the automatic registration of ODBC. All the programming code given in this paper can be referred as solution and guidance to the problem of database operation during the process of developing mechanical CAD software.
- 【文献出处】 北京石油化工学院学报 ,Journal of Beijing Institufe of Petrochemical Technology , 编辑部邮箱 ,2003年01期
- 【分类号】TP391.72
- 【被引频次】5
- 【下载频次】138