问题一、在数据模块中用ado连接,在窗体中放一IWDBGrid控件与数据模块中的adoquery控件绑定起来,IWDBGrid控件中无数据,但在设置属性时能设置对应的字段
问题二、在ServerController单元中,有这么一段代码
constructor TUserSession.Create(AOwner: Tcomponent);
begin
inherited;
datamodule1 :=tdm.Create(Aowner);//引用数据模块,运行时出错
end;
提示 :project hr.exe raised exception class eolesyserror with message '尚未调用coinitialze',请问如何解决!!!急!!!
问题二、在ServerController单元中,有这么一段代码
constructor TUserSession.Create(AOwner: Tcomponent);
begin
inherited;
datamodule1 :=tdm.Create(Aowner);//引用数据模块,运行时出错
end;
提示 :project hr.exe raised exception class eolesyserror with message '尚未调用coinitialze',请问如何解决!!!急!!!
,模认为none