I am trying to use Dev-C++ to create client programs on a Win98 PC to access MySQL databases. I am unable to link the mysql libraries based upon directions in a MySQL book. Any advice out there please? It sort of appears I must resort to MS Visual C++ for this application.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1.I used dinamic linking, never tried the static library.
2.Took the import lib for the client dll, run reimp on it to create gcc compatible import lib.
3.Linked my project with this one.
There are other technics, too. Like using pexport on the dll to get the def and from it the import lib with dlltool.
With gcc 3.2 I read that you can simply put the dll on the linker's command line and it will automagically link correctly. I don't know how to do it, though.
Now I wish there were some examples using the embedded server...
rpeter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use Dev-C++ to create client programs on a Win98 PC to access MySQL databases. I am unable to link the mysql libraries based upon directions in a MySQL book. Any advice out there please? It sort of appears I must resort to MS Visual C++ for this application.
I have an identical problem, linking with mysql library.
This message is posted in support of the importance of the subject. It looks as if this problem can happen with other MS libraries..
1.I used dinamic linking, never tried the static library.
2.Took the import lib for the client dll, run reimp on it to create gcc compatible import lib.
3.Linked my project with this one.
There are other technics, too. Like using pexport on the dll to get the def and from it the import lib with dlltool.
With gcc 3.2 I read that you can simply put the dll on the linker's command line and it will automagically link correctly. I don't know how to do it, though.
Now I wish there were some examples using the embedded server...
rpeter