473,503 Members | 2,075 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MFC and MySQL API VC++ 6

Hi, I have a problem with using MFC and MySQL API.

When I create a new project (non Win32 or MFC) I add libmysql.lib and
header files, then I compile and it's all ok.

The problems born whene I would create a visual application or console
win32 application...

I create the application with wizard(or manually), I add library and
header files but when I compile there are conflicts with win header
files and compiler don't link mysql function. I think libmysql.lib is
compiled with a different compiler than VC++. I have also look for
other compiled library but I have not found them.

Please help me
Thanks in advance
Estefan Civera
Jul 19 '05 #1
6 4948
Depending on the errors you are running into, I had similar problems. The
Windoze version of MySQL that you download from the site, has alot of
problems. I ended up downloading the source code (which also has problems)
and building the library myself. If you want, perhaps I can shoot you the
version of the library I built.

When I uncover what all of the problems are building the Windoze source, I
will send the whole litany of issues to the maintainers.

-Mark

"estevan" <co********@email.it> wrote in message
news:83**************************@posting.google.c om...
Hi, I have a problem with using MFC and MySQL API.

When I create a new project (non Win32 or MFC) I add libmysql.lib and
header files, then I compile and it's all ok.

The problems born whene I would create a visual application or console
win32 application...

I create the application with wizard(or manually), I add library and
header files but when I compile there are conflicts with win header
files and compiler don't link mysql function. I think libmysql.lib is
compiled with a different compiler than VC++. I have also look for
other compiled library but I have not found them.

Please help me
Thanks in advance
Estefan Civera

Jul 19 '05 #2
Depending on the errors you are running into, I had similar problems. The
Windoze version of MySQL that you download from the site, has alot of
problems. I ended up downloading the source code (which also has problems)
and building the library myself. If you want, perhaps I can shoot you the
version of the library I built.

When I uncover what all of the problems are building the Windoze source, I
will send the whole litany of issues to the maintainers.

-Mark

"estevan" <co********@email.it> wrote in message
news:83**************************@posting.google.c om...
Hi, I have a problem with using MFC and MySQL API.

When I create a new project (non Win32 or MFC) I add libmysql.lib and
header files, then I compile and it's all ok.

The problems born whene I would create a visual application or console
win32 application...

I create the application with wizard(or manually), I add library and
header files but when I compile there are conflicts with win header
files and compiler don't link mysql function. I think libmysql.lib is
compiled with a different compiler than VC++. I have also look for
other compiled library but I have not found them.

Please help me
Thanks in advance
Estefan Civera

Jul 19 '05 #3
Depending on the errors you are running into, I had similar problems. The
Windoze version of MySQL that you download from the site, has alot of
problems. I ended up downloading the source code (which also has problems)
and building the library myself. If you want, perhaps I can shoot you the
version of the library I built.

When I uncover what all of the problems are building the Windoze source, I
will send the whole litany of issues to the maintainers.

-Mark

"estevan" <co********@email.it> wrote in message
news:83**************************@posting.google.c om...
Hi, I have a problem with using MFC and MySQL API.

When I create a new project (non Win32 or MFC) I add libmysql.lib and
header files, then I compile and it's all ok.

The problems born whene I would create a visual application or console
win32 application...

I create the application with wizard(or manually), I add library and
header files but when I compile there are conflicts with win header
files and compiler don't link mysql function. I think libmysql.lib is
compiled with a different compiler than VC++. I have also look for
other compiled library but I have not found them.

Please help me
Thanks in advance
Estefan Civera

Jul 19 '05 #4
Thanks
but I have resolved the problem
If you want use a VC + MySQL you mudst include <winsock.h> and the API do very well

bye estevan
Jul 19 '05 #5
Thanks
but I have resolved the problem
If you want use a VC + MySQL you mudst include <winsock.h> and the API do very well

bye estevan
Jul 19 '05 #6
Thanks
but I have resolved the problem
If you want use a VC + MySQL you mudst include <winsock.h> and the API do very well

bye estevan
Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6847
by: Ben | last post by:
Hi I am new to C++ and I want to know if C++ is suitable for making a GUI application with a MySQL database. I also want to know what keywords in books I should look for. Is DATA STRUCTURES a...
3
4163
by: Rock'n Lachlan | last post by:
I'm looking for some assistance in using Embedded SQL in C using VC++ 6.0 to connect to MYSQL in Windows XP. This is new to me, but it is my understanding that I need to use a precompiler. I'm...
133
8890
by: jonathan | last post by:
hey all, I realize that this question might pop up from time to time, but I haven't seen it a while and things might of changed, so - Right now (July 2004) how does mysql stand up in...
1
1722
by: sop3k | last post by:
Hello !!! I have a problem during compilation example program from tutorial about MySql++ 1.7.1 When I want to compile that simple program: #include <iostream> #include <iomanip> #include...
3
1224
by: Jazzhouse | last post by:
Hi, I am using VC++ 7.0 I want to send SQL statements to my MySQL Server. I know how mysql works but dont know much about how VC++ can handle this. I have ODBC drivers.
4
2031
by: Bryan Powell | last post by:
Is it possible to grab data from a MySQL database and print it on the screen with VC++? The database is on a linux server if that would make any difference.
2
1149
by: oscar | last post by:
i'm making a mysql call from c# to a mysql database for a windows application. when i try to use the join command it works fine until the column being joined gets to a null character and then the...
3
2380
by: Darius | last post by:
Hello, there is an NMEAParserDemo application written in VC++ avaliable for download from http://www.visualgps.net/Papers/NMEAParser/NMEAParserDemo%20Project.zip. Source code in VC++ is...
7
16682
by: asenthil | last post by:
Hai to all, this is senthil... i'm now working in the field of VC++... i want to connect a mysql database... just now tried to retrieve rows from a simple mysql database by using VC++ My...
0
7067
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7264
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5562
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4992
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
371
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.