#1 2023-08-15 20:23:26

huoxingkj
Member
Registered: 2023-08-15
Posts: 1

delphi11.3 Error as EOleSysError with message

delphi11.3  Error as EOleSysError with message [没有注册类]

TQuery1:TQuery;
TQuery1:=TQuery.Create(fMSSQL.MSSQL.ThreadSafeConnection);
TQuery1.SQL.Text:='select getdate()';
TQuery1.Open;  Error

Offline

#2 2023-08-15 20:33:09

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: delphi11.3 Error as EOleSysError with message

没有注册类 is not a very clear error message to me...
What does it mean?
Did you try with another library?

Offline

#3 2023-08-16 18:44:43

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: delphi11.3 Error as EOleSysError with message

My guess using Google Translate is that the error message means "no class registered".

So perhaps you don't have the proper OleDB provider installed for the Win32 or Win64 context of your executable.

Offline

Board footer

Powered by FluxBB