MyConnection1.Options.Protocol := mpTCP; <Undeclared Indentifier: 'mpTCP'> ???

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
TheLion
Posts: 39
Joined: Thu 25 Nov 2004 11:28
Location: Copenhagen/Denmark

MyConnection1.Options.Protocol := mpTCP; <Undeclared Indentifier: 'mpTCP'> ???

Post by TheLion » Tue 06 Jun 2006 09:43

Hi :-)

MyConnection1.Options.Protocol := mpTCP;
When compiled, I get Undeclared Indentifier: 'mpTCP' ???

MyConnection1 is declared and lines like:
MyConnection1.Options.Direct := True;
Works.

I am using Delphi 5 Enterprise and MyDac 4.30.1.15 (std).

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

Post by Antaeus » Tue 06 Jun 2006 10:45

You should add MyClasses unit to uses clause to use constants mpSSL, mpDefault etc.

TheLion
Posts: 39
Joined: Thu 25 Nov 2004 11:28
Location: Copenhagen/Denmark

Post by TheLion » Tue 06 Jun 2006 11:16

That was what I needed to know :-)

Thank You :-)

Post Reply