Page 1 of 1

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

Posted: Tue 06 Jun 2006 09:43
by TheLion
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).

Posted: Tue 06 Jun 2006 10:45
by Antaeus
You should add MyClasses unit to uses clause to use constants mpSSL, mpDefault etc.

Posted: Tue 06 Jun 2006 11:16
by TheLion
That was what I needed to know :-)

Thank You :-)