473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Help!! About MySQL and VC6

I am using the MySQL++, MySQL 4 in MS Visual C++ 6.0.
When I try to compile the program, warning occurs (see below). Besides, the
program have runtime error as follows:
"The procedure entry point mysql_connect could not be located in the dynamic
link library LIBMYSQL.dll"

Is that I have missed any settings in MS Visual C++ 6.0/MySQL?

Thx.

Here is the warning:

--------------------Configuration: MFC_ex - Win32 Debug--------------------
Compiling resources...
Compiling...
MFC_ex.cpp
c:\mysql++\include\type_info1.hh(39) : warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning)
c:\mysql++\include\type_info1.hh(159) : warning C4800: 'unsigned int' :
forcing value to bool 'true' or 'false' (performance warning)
c:\mysql++\include\type_info1.hh(172) : warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning)
c:\mysql++\include\type_info1.hh(176) : warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning)
c:\mysql++\include\type_info1.hh(180) : warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning)
c:\mysql++\include\type_info1.hh(184) : warning C4800: 'int' : forcing value
to bool 'true' or 'false' (performance warning)
c:\mysql++\include\convert1.hh(40) : warning C4273: 'strtol' : inconsistent
dll linkage. dllexport assumed.
c:\mysql++\include\convert1.hh(41) : warning C4273: 'strtoul' : inconsistent
dll linkage. dllexport assumed.
c:\mysql++\include\sql_query1.hh(37) : warning C4800: 'class SQLQuery *' :
forcing value to bool 'true' or 'false' (performance warning)
c:\mysql++\include\sql_query1.hh(135) : warning C4355: 'this' : used in base
member initializer list
c:\mysql++\include\compare1.hh(48) : warning C4800: 'int' : forcing value to
bool 'true' or 'false' (performance warning)
c:\mysql++\include\result1.hh(33) : warning C4355: 'this' : used in base
member initializer list
c:\mysql++\include\result1.hh(42) : warning C4800: 'char' : forcing value to
bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch ar>,std::allocator<char> > >,std::allocator<int> >::_Nil' : identifier was
truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch ar>,std::allocator<char> > >,std::allocator<int> >::_Nilrefs' : identifier
was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::pair<std::_Tree<std::basic_string<char,std:: char_traits<char>,std::all
ocator<char>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r
const ,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::ch ar _traits<char>,std::allocator<char> > >,std::allocator<int>::iterator,bool>' : identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch ar>,std::allocator<char> > >,std::allocator<int> >' : identifier was
truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch ar>,std::allocator<char> > >,std::allocator<int> >::const_iterator' :
identifier was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch ar>,std::allocator<char> > >,std::allocator<int> >::iterator' : identifier
was truncated to '255' characters in the debug information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::charStd Afx.cpp
_traits<char>,std::allocator<char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<char>,std::allocat or<char> > >,std::allocator<int::_Node' : identifier was truncated to '255' characters in the debug

information
c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>,std::pair<std::basic_string<char,std::char_trait s<char>,std::allocator<cha r> > const
,int>,std::map<std::basic_string<char,std::char_tr aits<char>,std::allocator<
char>,int,std::less<std::basic_string<char,std::char_t raits<char>,std::allocator <char> > >,std::allocator<int>::_Kfn,std::less<std::basic_string<char,std::char _traits<ch

ar>,std::allocator<char> > >,std::allocator<int> >::_Redbl' : identifier was
truncated to '255' characters in the debug information
Linking...
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
libs; use /NODEFAULTLIB:library

MFC_ex.exe - 0 error(s), 22 warning(s)
Jul 22 '05 #1
0 2435

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

Similar topics

7
by: Julien - Marseille | last post by:
Hello, I need help for php syntax when i call Mysql database I have wrote that and my sql connection is working I just have a problem with this command line : $query = "SELECT * FROM...
5
by: Pjotr Wedersteers | last post by:
I have Apache 2.0.50 and PHP5 on a Xp test machine (not going live) I also have installed MySQL 4.0.20 Modiefied php.ini, changed the extensions_dir to 10 different things in a row, none helped....
0
by: Ryan Schefke | last post by:
------=_NextPart_000_0077_01C34C8B.2B90C960 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ..I just sent this out to the win32 distribution list but no one has...
2
by: William Friend | last post by:
Im rather new to Linux and my server has been running great, up until the other day. I was messing around with mysql through webmin in mandrake 9.2 and know I cant do anything, not even create a...
1
by: Alexei Vladychevski | last post by:
i have 2 tables forumMsg forumTopic id idTopic Text idUser Views id Topic TopOrder -------------------------------------- ...
3
by: The Good Doctor Dog Balls | last post by:
I'm trying to set them up using this guide: http://www.webmasterstop.com/48-4.html the first time I did this, it worked fine, and after a month, it stopped working (Dreamweaver; no tables found...
1
by: AboutJAV | last post by:
Hi, I am performing a query on MySQL table which contains two DateTime fields Here is my code string sqlCmd = "SELECT * FROM categories"; OleDbDataAdapter da = nwe...
5
by: dilbert | last post by:
Hi i am new to this, first time joined a forum. Anyway my problem is i have two tables: table1: establishment(estNo mediumint, estName varchar, other details..) Primary key=estNo; table2:...
3
by: tagaroe | last post by:
HI, Could somebody maybe have a look at http://www.business-youthlink.co.za/register.php . I am using dreamweaver with iis php and mysql, the database we made is devided now in 3 tables....
0
by: Scotsman | last post by:
Hi All I have a sticky problem! Its a LEFT JOIN sql statement which works fine in MySQL but not when called in Perl. Any ideas? I have 2 tables: campaigns & companies. I'm trying to join them...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.