Current version of MyDAC is incompatible with MySQL Developer Tools??

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Current version of MyDAC is incompatible with MySQL Developer Tools??

Post by NoComprende » Sat 19 Jan 2008 11:41

When I start C++ Builder 2007 I get the following message

Current version of MyDAC is incompatible with MySQL Developer Tools.
Do you wish to download the latest MyDAC version?

If I click Download and restart C++ Builder after the download I get the exact same message popping up.

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

Post by Dimon » Tue 22 Jan 2008 08:07

Check if MySQL Developer Tools is installed on your computer. If it is not, check if next registry keys exist and delete them:
  • HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD110}
    HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD111}
    HKEY_LOCAL_MACHINE\SOFTWARE\CoreLab\Database Developer Tools\DatabaseProviders\Bds5\{59F90733-4D68-4fdf-82A7-F0FCBF5460AA}
If MySQL Developer Tools is installed and it is able to work, then check if *.dll files specified in values of these keys exist:
  • HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD110}\InprocServer32\CodeBase
    HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD111}\InprocServer32\CodeBase
    HKEY_LOCAL_MACHINE\SOFTWARE\CoreLab\Database Developer Tools\DatabaseProviders\Bds5\{59F90733-4D68-4fdf-82A7-F0FCBF5460AA}\Assembly
If they are, send me their versions to dmitryg*crlab*com.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Tue 22 Jan 2008 13:32

Thanks Dimon. The version that was on my computer (which did not seem to be installed correctly) related to delphi 2007 which I don't have (I'm using c++ builder 2007). I tried uninstalling but the uninstall was missing, so I deleted the relevant directory. I could only find and delete the

HKEY_LOCAL_MACHINE\SOFTWARE\CoreLab\Database Developer Tools\DatabaseProviders\Bds5\{59F90733-4D68-4fdf-82A7-F0FCBF5460AA}

key in the registery. The message still appears though.

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

Post by Dimon » Wed 23 Jan 2008 09:53

Start the command interpreter cmd.exe. Execute next commands:

Code: Select all

  REG DELETE "HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD110}" /f
  REG DELETE "HKEY_CLASSES_ROOT\CLSID\{DD06A3A9-B493-4a68-AB0E-038B90BBD111}" /f
  REG DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\CoreLab\Database Developer Tools\DatabaseProviders\Bds5" /f
Start your IDE anew.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Wed 23 Jan 2008 10:07

None of the commands worked Dimon. For the first two the response was "Error: Access is denied", although I still can't find those keys using Regedit (there is no subdirectory CLSID in the HKEY_UCLASSES_ROOT directory). The response to the 3rd command was "unable to find ...." which wasn't surprising as I deleted that manually in regedit.

It isn't a big problem anyway Dimon as there is a "Don't show this again" check box in the message that keeps appearing.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Sun 27 Jan 2008 14:16

Dimon, I'm currently trying to compile a BCB6 application using BCB2007. All .cpp files compile fine but when the compiler attempts to link them I get the message "[Link32 Error] Error: Unable to find file STLPMT.LIB".

BCB2007 doesn't have a STLPMT.LIB so I created an empty STLPMT.LIB file to see if the error message(s) gave any more of a clue as to what was going on. With that dummy file in place I get the following 8 errors when I try building the application :-

All 8 are of the form

"[ILINK32 Error] Error: Unresolved external XXXX referenced from C:\PROGRAM FILES\CODEGEAR\RAD STUDIO\5.0\LIB\OBJ\SHDOCVW_OCX.OBJ"

where XXXX is

'Shdocvw_tlb::CLSID_ShellFavoritesNameSpace'
'Shdocvw_tlb::IID_IShellNameSpace'
'Shdocvw_tlb::CLSID_CppShellUIHelper'
'Shdocvw_tlb::IID_IShellUIHelper'
'Shdocvw_tlb::CLSID_CppShellWindows'
'Shdocvw_tlb::IID_IShellWindows'
'Shdocvw_tlb::CLSID_CppInternetExplorer'
'Shdocvw_tlb::IID_IWebBrowser2'

I'm at my wits end trying to get this app to compile and the BCB newsgroups have, as yet, been unable to help me. I notice a few of the XXXX's above have CLSID in them as do some of the registry keys you mentione earlier. Perchance have the above errors anything to do with the MyDAC components?

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

Post by Dimon » Mon 28 Jan 2008 11:37

C++Builder 6 creates a project file (*.bpr) when saving a project. Open your project file in a text editor, find the PACKAGES parameter and clear its value so that it looks like this:


Also find all links to dac60.lib and mydac60.lib, and replace them with dac105.lib and mydac105.lib correspondingly.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Mon 28 Jan 2008 11:56

Dimon wrote:C++Builder 6 creates a project file (*.bpr) when saving a project. Open your project file in a text editor, find the PACKAGES parameter and clear its value so that it looks like this:


Also find all links to dac60.lib and mydac60.lib, and replace them with dac105.lib and mydac105.lib correspondingly.
Dimon, I created a project from scratch in bcb2007 and then added my BCB6 files one at a time to the project (I was advised to do this on a bcb newsgroup). I can't find any .bpr file, the .cbproj file creted by bcb2007 doesn't contain the string "PACKAGES value" and the mydac libs mentioned are all 105, not 60.

Any other ideas? Am I to take it that the above listed error messages are associated with MyDAC?

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

Post by Dimon » Wed 30 Jan 2008 13:36

This problem was posted to Borland's Quality Central:
http://qc.borland.com/wc/qcmain.aspx?d=27199

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Wed 30 Jan 2008 14:06

Thanks Dimon. It kind of sums up Borland help though.

I managed to get rid of the 8 errors by removing all includes and pragma links relating to shadocvw (all of which must have been auto generated by the bcb6 ide). Presumably these aren't neccessary in bcb2007 as the app did build ok. If I remove the empty 'dummy' stlpmt.lib file I get the original error though so, while I'm up and running, there's still something not quite right.

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

Post by Dimon » Thu 31 Jan 2008 14:31

I am glad that this link helped you. Are there any problems left?

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Thu 31 Jan 2008 15:17

Not that I can see at the moment Dimon. Thanks.

Post Reply