很菜的基础问题
xcani 2004-05-06 08:11:29 运行adoCn := CreateOleObject('ADODB.Connection');//创建ADO的OLE对象时报错:
[Error] Unit1.pas(36): Undeclared identifier: 'CreateOleObject'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'
这是为什么?我是菜鸟,所以应该问的很简单。
并问:怎么定义adocn.