Page 1 of 1
Compile fails under Borland C++ Builder 5 professional
Posted: Wed 20 Dec 2006 21:45
by TheoLang
Hello,
Unfortunatly the compile fails.
In module MyCall.hpp in structure MYSQL_BIND and MYSQL_BIND503 i get
a message like "declaration unterminated" ( translated from german )
on the line TMySqlFieldType buffer_type.
In the moment i work with the demo. But i would really like to by it, if i would be able to use wiht C++ Builder 5.
In the designer it works great. I can open the connection and see the data in the grid.
Thanks for any help
Posted: Wed 20 Dec 2006 22:50
by TheoLang
i have set both lines on comment and now i can compile.
And it seems to work but in the moment i am doing just
simple things.
Posted: Fri 22 Dec 2006 17:01
by Antaeus
Please supply us with exact version of C++Builder and MyDAC.
DBAccess->ChangeCursor
Posted: Thu 28 Dec 2006 22:15
by TheoLang
Hello,
i have C++Builder Version 5.0 Professional Build 12.34
and MyDAC 4.40.0.21
Till today everything was working. But now i run into a problem. I mention it in this thread because the reason might be my trick to overcome the compiling problem.
I want to switch off the executing cursor. But i cant access the symbol
"DBAccess". The compiler tells me "symbol undefined".
So "DBAccess->ChangeCursor = False" is not possible.
#pragma link "DBAccess" is included in the header of the source.
Thanks
Posted: Fri 29 Dec 2006 08:35
by Antaeus
Try to omit the unit name in the command:
or use the following syntax:
Posted: Fri 29 Dec 2006 09:52
by TheoLang
thanks,
ChangeCursor=false;
is working fine.
Posted: Tue 01 Jun 2010 14:05
by DanielH
Hello,
I have the same problem with Embarcadero RAD Studio 2010 (Version 14.0.3615.26342 , C++ and Delphi) and MyDac (5.90.0.58 for RAD Studio 2010):
In module MyCall.hpp in structure MYSQL_BIND and MYSQL_BIND503 i get
a message like "declaration unterminated" ( translated from german )
on the line TMySqlFieldType buffer_type.
In the moment I work with the demo. But I would really like to by it later.
Thanks for any help.
Posted: Wed 02 Jun 2010 14:05
by Dimon
I could not reproduce the problem. Please try to reinstall MyDAC.
If it doesn't solve the problem, please specify exact steps to reproduce the problem.
Posted: Fri 04 Jun 2010 10:58
by DanielH
Hello,
I reinstalled MyDAC,but I have the same error.
By the way,it is the trial version from MYDAC (5.90.0.58 for RAD Studio 2010), sorry.
My Project is a VCL form application.
Steps:
- adding a TMyConnection component on the main form (drag&drop),
at this time the *.hpp files will be included.
- try to compile the project,the error occurs:
In module MyCall.hpp in structure MYSQL_BIND and MYSQL_BIND503
a message like "declaration unterminated" ( translated from german )
on the lines with "TMySqlFieldType buffer_type".
Posted: Fri 04 Jun 2010 13:24
by Dimon
Please, unistall MyDAC, find all MyCall.*, *dac*.bpl, and *dac*.lib files on your PC and delete them. After this reinstall MyDAC.
Posted: Tue 08 Jun 2010 08:06
by DanielH
I tried your steps,but there is still the same error.
When I rename "TMySqlFieldType buffer_type"
to "TMySqlFieldType _buffer_type" in the Mycall.hpp, I can compile my project and it seems to work
