DBMonitor 2.14 no more monitoring Mydac 5.70.0.42 apps

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

DBMonitor 2.14 no more monitoring Mydac 5.70.0.42 apps

Post by swierzbicki » Sat 29 Nov 2008 17:19

Hi,

I'm no more able to monitor Mydac 5.70.0.42 apps !
Can someone confirm this ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 01 Dec 2008 08:44

I can not reproduce the problem.
Please check that the TMySQLMonitor component is used in your application and the TMySQLMonitor.Active property is set to True.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 02 Dec 2008 16:22

I'm sorry but TMySQLMonitor.Active is set to true.
I have also installed "dbForge Fusion for MySQL, RAD Studio add-in Standard". Could it be the problem ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 03 Dec 2008 12:46

I can not reproduce the problem. Please try uninstall dbForge Fusion for MySQL and check if the monitoring works.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Thu 11 Dec 2008 10:25

I've remove dbForge Fusion and the problem persists.
I've tried with MyDC 5.70.0.43 and the problem persists.

Could it be related with the fact I'm running on a 64bit operating system ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 16 Dec 2008 13:52

DbMonitor is a 32-bit application and MyDAC is 32-bit, therefore these applications are run on a 64bit operating system in 32-bit mode. Therefore the version of the operating system should not affect on the work of DBMonitor.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 16 Dec 2008 15:31

Is there a way to "debug" this deeper ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 17 Dec 2008 13:40

Please tell me, when you run DBMonitor and after this run an application that contains active TMySQLMonitor, is this application added to the Process list of DBMonitor?

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Thu 18 Dec 2008 17:27

No, nothing is added to the Process list !

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 19 Dec 2008 14:02

Please, set a breakpoint in the DBMonitorClient function of the DBMonitorClient unit and check if this function returns nil or not.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Tue 03 Feb 2009 09:34

Hi Dimon,

On a Vista64 system, DBMonitor class is registered here :

Code: Select all

HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{89F49E65-F6E0-11D6-9038-00C02631BDC7}
Function GetDBMonitor (DBMonitorClient unit) will check for this key :

Code: Select all

HKEY_CLASSES_ROOT\CLSID\{89F49E65-F6E0-11D6-9038-00C02631BDC7}
There is either a problem with the DBMonitor installation (write infos in another place) or a problem with Function GetDBMonitor (look at a bad key)

I've sended you a modified DBMonitorClient unit that is working on both Win32 and Win64 OS.

I've also found this when doing some google search (this might helps) :
Question
I have an ocx that I have registered on Vista 32 and can use without a problem in Delphi. When I attempt to add it to a form in Delphi 2007 (December Update) on my Vista 64 machine I get a "Class not registered". If I click on the details button of the error I get the following info.
I have manually used regsvr32 to register it and it says it succeded in registering it.

Answer
In Vista 64 there are two regsvr32 files. One is located in your %SystemRoot%\System32 which is actually the 64 bit regsvr32. Since you are registering a 32-bit ocx you will need to use the regsvr32 in %systemroot%\Syswow64 folder, this is the actual 32-big regsvr32. So first browse to that folder and then use regsvr32.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 05 Feb 2009 08:35

Thank you for the detailed information and your advice. We will fix this problem. This fix will be included in the next MyDAC build.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 11 Mar 2009 13:34

Please send us your fix once again. We have lost it.

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Fri 13 Mar 2009 21:14

Sended today at dmitryg [at] devart [dot] com

swierzbicki
Posts: 451
Joined: Wed 19 Jan 2005 09:59

Post by swierzbicki » Mon 23 Mar 2009 07:05

Did you get it ?

Post Reply