Page 1 of 1

DBMonitor and console application

Posted: Mon 28 Jul 2008 18:03
by cyrilo
Is it possible to use DBMonitor for SQL-debugging MyDAC-based Delphi console applications?

Posted: Thu 31 Jul 2008 11:31
by Dimon
Yes, you can use DBMonitor for console applications in the same way as for the Windows applications.

Posted: Mon 06 Oct 2008 18:41
by cyrilo
Can you show an example of code please?

Posted: Tue 07 Oct 2008 12:34
by Dimon
Just add the MyDacMonitor and MySQLMonitor units in uses clause and create a MySQLMonitor object like this:
MySQLMonitor := TMySQLMonitor.Create(nil);

Run DBMonitor for SQL-debugging.