为什么会出现编译错误?
我作的小系统是Delphi6+ADO+MS Access
编译时老是出现下面的错误信息:
Debugger Exception Notification
Project Project1.exe raise exception class EoleException with message'找不到可安装的ISAM.'Process stopped.Use Step or Run to Continue.
相关的AdoConnection.connectstring 都是在FrmMain的OnShow 事件触发时才动态连接
代码如下:
procedure TForm1.FormShow(Sender: TObject);
begin
DM.ADOConnection1.ConnectionString :='Provider=Microsoft.Jet.OLEDB.4.0;DataSource=..\Data\my_ClassMate.mdb;Persist Security Info=False';
try
DM.ADOConnection1.Connected :=true;
except
MessageBox(handle,'数据文件“Data”被删除或被移走。','不能登录',MB_OK);
Close;
end;//try
end;
但是我运行的别人的例程代码(也是动态连接)却能顺顺利利地生成所需要的exe文件
我现在头大如斗,各位帮帮我,救救我,要代码:stone-565@263.net