首页 | 本学科首页   官方微博 | 高级检索  
     

机械CAD软件VC++数据库应用程序设计技术
引用本文:宋金明,陈家庆,秦乾军. 机械CAD软件VC++数据库应用程序设计技术[J]. 北京石油化工学院学报, 2003, 11(1): 22-27
作者姓名:宋金明  陈家庆  秦乾军
作者单位:北京石油化工学院机械工程系,北京,102617
摘    要:真正的机械CAD系统软件离不开对数据库的操作。结合小型数据库Mirosoft Access,针对用Visual C 开发机械CAD系统软件时进行数据库操作的一些关键问题进行了阐述。基于对0DBC和DA0的比较认识,介绍了如何用DA0直接读取单表数据库以及如何用DA0和0DBC读取0DBC所管理的单表数据库;基于对多表操作进行的一些探讨,提出了处理多表操作的两种方法;此外还对0DBC的自动注册问题提出了解决方案。所给出的一些程序代码能对解决机械CAD系统软件开发过程中的数据库操作问题起到有效的参照和指导作用。

关 键 词:机械CAD软件 VC++ 数据库 应用程序设计
修稿时间:2002-09-11

Database Operation in Developing Mechanical CAD Software Using Visual C + +
Song Jinming Chen Jiaqing Qing Qianjun. Database Operation in Developing Mechanical CAD Software Using Visual C + +[J]. Journal of Beijing Institute of Petro-Chemical Technology, 2003, 11(1): 22-27
Authors:Song Jinming Chen Jiaqing Qing Qianjun
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.
Keywords:Mechanical CAD  Visual C++  Database operation
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号