i found some strange problem. please see example project and try to compile and run it.
the problem is that if a have trying to connect in OnCreate event of
DataModule and than after connect trying to send some SQL statements to server it will reproduce AV error (at ->Execute(1) line).
the error is occuring only if you have this lines
Code: Select all
 MyConnection1->Port = 3306;
 MyConnection1->Server = "192.168.1.100";
 MyConnection1->Username = "root";
 MyConnection1->Password = "";
 MyConnection1->Database = "kettler_systemdb";where is this problem? on my, yours or borlands site?
thanks bedla
Code: Select all
http://tnpw.6v-webdesign.com/crlab01.zip