1、我在程序中既想用ADO 也想用DAO 结果出现如下问题,如何解决。#include <afxdao.h>
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")Compiling...
StdAfx.cpp
e:\tmp\report\debug\msado15.tlh(143) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(184) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(228) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(245) : error C2011: 'EditModeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(253) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(432) : error C2011: 'ParameterDirectionEnum' : 'enum' type redefinition
Error executing cl.exe.report.exe - 6 error(s), 0 warning(s)
2、在ADO中如何创建*.MDB数据库
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")Compiling...
StdAfx.cpp
e:\tmp\report\debug\msado15.tlh(143) : error C2011: 'LockTypeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(184) : error C2011: 'DataTypeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(228) : error C2011: 'FieldAttributeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(245) : error C2011: 'EditModeEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(253) : error C2011: 'RecordStatusEnum' : 'enum' type redefinition
e:\tmp\report\debug\msado15.tlh(432) : error C2011: 'ParameterDirectionEnum' : 'enum' type redefinition
Error executing cl.exe.report.exe - 6 error(s), 0 warning(s)
2、在ADO中如何创建*.MDB数据库
解决方案 »
- 如何让FLASH控件自动播放
- 请问如何将文件刻录到光驱?
- mfc 主窗体中打开几个模态对话框,单击任务栏上主窗体小图标,让所有模态对话框最小化,显示在屏幕左下角,主窗体最小化到任务栏
- 如何在listbox中循环输入数据 请大侠帮忙!!!!
- 在线等待,_variant_t类型赋值问题!~
- 一个小错误
- "MFC ATL STL 标准库"之间的关联
- 请帮忙,在VEIW类中用的资源怎么在FRAME中也可利用
- 怎么在我得程序里面播放mp3??
- GetQueuedCompletionStatus正确返回但是GetLastError返回87 ERROR_INVALID_PARAMETER
- char* 和_bstr_t之间怎么转换?
- 老天!unsigned char 取值不是1-255吗?
2.像rename("EOF","adoEOF")一样rename所有的type redefinition类型