Page 1 of 1
Current version of MyDAC is incompatible with MySQL Developer Tools??
Posted: Sat 19 Jan 2008 11:41
by NoComprende
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.
Posted: Tue 22 Jan 2008 08:07
by Dimon
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.
Posted: Tue 22 Jan 2008 13:32
by NoComprende
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.
Posted: Wed 23 Jan 2008 09:53
by Dimon
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.
Posted: Wed 23 Jan 2008 10:07
by NoComprende
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.
Posted: Sun 27 Jan 2008 14:16
by NoComprende
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?
Posted: Mon 28 Jan 2008 11:37
by Dimon
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.
Posted: Mon 28 Jan 2008 11:56
by NoComprende
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?
Posted: Wed 30 Jan 2008 13:36
by Dimon
This problem was posted to Borland's Quality Central:
http://qc.borland.com/wc/qcmain.aspx?d=27199
Posted: Wed 30 Jan 2008 14:06
by NoComprende
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.
Posted: Thu 31 Jan 2008 14:31
by Dimon
I am glad that this link helped you. Are there any problems left?
Posted: Thu 31 Jan 2008 15:17
by NoComprende
Not that I can see at the moment Dimon. Thanks.