Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Help!! About MySQL and VC6

Reply
Thread Tools

Help!! About MySQL and VC6

 
 
Forecast
Guest
Posts: n/a
 
      12-31-2003
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(4 : 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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std:air<std::_Tree<std::basic_string<char,std:: char_traits<char>,std::all
ocator<char>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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(3 : warning
C4786:
'std::_Tree<std::basic_string<char,std::char_trait s<char>,std::allocator<cha
r>
>,std:air<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)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with C extensions under VC6 / WinXP and Python 2.4 Scott Python 7 02-17-2005 09:40 AM
compiles in g++ and .NET but not on VC6 !!! Julian C++ 12 12-21-2004 12:00 AM
strang behaviour std:vector and XString in VC6.0 Stijn Oude Brunink C++ 3 11-12-2004 01:38 PM
atof() and _tstof() in VC6.0 Pete C. C++ 9 06-24-2004 09:38 PM
const qualifier and VC6.0 Sergey Tolstov C++ 8 10-07-2003 02:42 PM



Advertisments