CLR程序如何连接acess数据库啊?
我在stdafx.h中添加了
#import "c:\program files\common files\system\ado\msado15.dll" \
no_namespace \
rename ("EOF", "adoEOF")
但是报错啊:
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!
Program: d:\C++\MFCCTYY\debug\MFCCTYY.exe
File: dbgheap.c
Line: 1414
Expression: _CrtIsValidHeapPointer(pUserData)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
中止(A) 重试(R) 忽略(I)
---------------------------
我就是想用CLR里面的windows窗体应用程序用acess数据库,大家谁能给段代码啊?小弟不胜感激啊