Page 1 of 2
DBMonitor 2.14 no more monitoring Mydac 5.70.0.42 apps
Posted: Sat 29 Nov 2008 17:19
by swierzbicki
Hi,
I'm no more able to monitor Mydac 5.70.0.42 apps !
Can someone confirm this ?
Posted: Mon 01 Dec 2008 08:44
by Dimon
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.
Posted: Tue 02 Dec 2008 16:22
by swierzbicki
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 ?
Posted: Wed 03 Dec 2008 12:46
by Dimon
I can not reproduce the problem. Please try uninstall dbForge Fusion for MySQL and check if the monitoring works.
Posted: Thu 11 Dec 2008 10:25
by swierzbicki
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 ?
Posted: Tue 16 Dec 2008 13:52
by Dimon
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.
Posted: Tue 16 Dec 2008 15:31
by swierzbicki
Is there a way to "debug" this deeper ?
Posted: Wed 17 Dec 2008 13:40
by Dimon
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?
Posted: Thu 18 Dec 2008 17:27
by swierzbicki
No, nothing is added to the Process list !
Posted: Fri 19 Dec 2008 14:02
by Dimon
Please, set a breakpoint in the DBMonitorClient function of the DBMonitorClient unit and check if this function returns nil or not.
Posted: Tue 03 Feb 2009 09:34
by swierzbicki
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.
Posted: Thu 05 Feb 2009 08:35
by Dimon
Thank you for the detailed information and your advice. We will fix this problem. This fix will be included in the next MyDAC build.
Posted: Wed 11 Mar 2009 13:34
by Plash
Please send us your fix once again. We have lost it.
Posted: Fri 13 Mar 2009 21:14
by swierzbicki
Sended today at dmitryg [at] devart [dot] com
Posted: Mon 23 Mar 2009 07:05
by swierzbicki
Did you get it ?