Error with MyDAC 5.50: 'Invalid class typecast' Inside My dll

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
yousef_h
Posts: 1
Joined: Wed 04 Jun 2008 20:14

Error with MyDAC 5.50: 'Invalid class typecast' Inside My dll

Post by yousef_h » Wed 04 Jun 2008 20:24

When I used MyDAC 5.20 I don't have any problem
with My dll, but After I Upgrade MyDAC to 5.50 it give problem with dll
The Code I Used:

Code: Select all

with qryCheques do begin
          Connection := dsDBConnection;
          SQL.Text := Format('select * from cheques where CMID in (%s)  order by CMNUM', [dsChequesNo]);
          Open;
end;

jkuiper_them
Posts: 28
Joined: Thu 20 Dec 2007 14:48

Post by jkuiper_them » Fri 06 Jun 2008 08:10

Did you recompile the DLL with MYDAC 5.5x?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 06 Jun 2008 10:14

Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Post Reply