Jump to content

Heksie

Members
  • Content Count

    3
  • Joined

  • Last visited

Everything posted by Heksie

  1. Heksie

    A Component Named xxxx Already Exists.

    I have just had the same error, in my case concerning a ButtonPanel I have a sequence of forms. Form1 is the starting point. Form2 inherits from Form1 and adds the ButtonPanel. Form3 inherits from Form2 and adds extra controls. And all was working 100% At some point, I got an IDE error message than Form3.dfm could not be found (I don't remember the exact message). The code compiled OK, but when I attempted to open Form3, I got the dreaded "A component named ButtonPanel already exists." It turned out, that the IDE had "rebuilt" the missing Form3.dfm and had recreated all the inherited items as objects. Just looking at the form it looks OK, but when looking at the form as text it was easy to see the problem. All the inheritence had been lost. Fortunately, the pas code was unchanged. I had to go back in my source control and retrieve an earlier version of the Form3.dfm (fortunately that Form had no changes for some time) Checked that the dfm as text was OK, and compiled. Problem gone. Regards,
  2. Heksie

    D11.2 + FireDAC + MySQL 64 bit not working

    Found the answer. Just copy them from C:\Program Files\MySQL\Connector C++ 8.0\lib64 and put them into the same folder as libmysql.dll, in my case copy them to C:\Program Files\MySQL\MySQL Server 8.0\lib Thanks
  3. Heksie

    D11.2 + FireDAC + MySQL 64 bit not working

    I have a working 64-bit app with MySQL 8.0.32 The FDDrivers.ini file contains the entry for libmysql.dll [MySQL] DriverID=MySQL VendorLib=C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.dll But I have had to copy the LIBCRYPTO-1_1-x64.DLL and LIBSSL-1_1-x64.DLL from C:\Program Files\MySQL\Connector C++ 8.0\lib64 and put them into the app folder. Is there a way to add these dlls to the ini file (same as done for the libmysql.dll file)??? The I don't need to copy them for every app that needs them. Thanks
×