For posterity, here's another requirement to get the application-side structure instances the same size as those expected in the MySQL dll: enums must be the size of ints. This was not the default setting in my BCB project, nor did I want to make it so, so here is how I did it in my source .c...
Hey Steve,
another BCB requirement: it seems necessary to include the mysql.h file with QUAD WORD (8 byte) data alignment active. Since my BCB project settings are set to default to BYTE (1 byte) alignment, I used the following #pragma wrappers around the include:
#pragma pack(push, 8)...
Here is a link to an article entitled "include MYSQL C API into Borland C++ Builder (BCB) Application" that I just came across:
http://libmysql.blogspot.com/
Note that I have not attempted the header file modification described there, as I still have not run into problems doing what I...
Hey Steve,
although I'm saddened by its content, I quite appreciate your reply :).
Let's please keep each other posted here with any progress on this problem of compiling the C header files from the MySQL C API from Borland C++ Builder (BCB) (I'm spelling it out again here for the search...
Hello Steve (smays),
While I'm not directly interested in the subject of the original post, I would be VERY interested in learning more about how you got the MySQL C API (not the C++ API) working from BCB.
If your kind offer to compile your notes on what tweaks you made to the MySQL C header...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.