Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: VC++ 6.0 Pin
Michael Dunn13-Mar-06 11:17
sitebuilderMichael Dunn13-Mar-06 11:17 
QuestionHelp needed: error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl voidtry(int)" (__imp_?voidtry@@YAXH@Z) referenced in function _main Pin
yongwpi13-Mar-06 6:10
yongwpi13-Mar-06 6:10 
AnswerRe: Help needed: error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl voidtry(int)" (__imp_?voidtry@@YAXH@Z) referenced in function _main Pin
toxcct13-Mar-06 6:20
toxcct13-Mar-06 6:20 
GeneralRe: Help needed: error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl voidtry(int)" (__imp_?voidtry@@YAXH@Z) referenced in function _main Pin
yongwpi13-Mar-06 6:42
yongwpi13-Mar-06 6:42 
AnswerRe: Help needed: error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl voidtry(int)" (__imp_?voidtry@@YAXH@Z) referenced in function _main Pin
Eytukan13-Mar-06 20:46
Eytukan13-Mar-06 20:46 
GeneralRe: Help needed: error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl voidtry(int)" (__imp_?voidtry@@YAXH@Z) referenced in function _main Pin
yongwpi15-Mar-06 17:07
yongwpi15-Mar-06 17:07 
Questionmysql and vc++6 Pin
viperlogic13-Mar-06 6:07
viperlogic13-Mar-06 6:07 
AnswerRe: mysql and vc++6 Pin
viperlogic13-Mar-06 6:14
viperlogic13-Mar-06 6:14 
if i copy all of them in and use

#include <mysql++>

then in the code do a connect as below
Connection con("login","localhost","root","abc");

i get the following errors and warnings
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(39) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(159) : warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(172) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(176) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(180) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\type_info1.hh(184) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\convert1.hh(40) : warning C4273: 'strtol' : inconsistent dll linkage. dllexport assumed.
c:\program files\microsoft visual studio\vc98\include\convert1.hh(41) : warning C4273: 'strtoul' : inconsistent dll linkage. dllexport assumed.
c:\program files\microsoft visual studio\vc98\include\sql_query1.hh(37) : warning C4800: 'class SQLQuery *' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\sql_query1.hh(135) : warning C4355: 'this' : used in base member initializer list
c:\program files\microsoft visual studio\vc98\include\compare1.hh(48) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
c:\program files\microsoft visual studio\vc98\include\result1.hh(33) : warning C4355: 'this' : used in base member initializer list
c:\program files\microsoft visual studio\vc98\include\result1.hh(42) : warning C4800: 'char' : forcing value to bool 'true' or 'false' (performance warning)
Linking...
mysqlDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall MysqlConnection::~MysqlConnection(void)" (??1MysqlConnection@@QAE@XZ)
mysqlDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall MysqlConnection::MysqlConnection(char const *,char const *,char const *,char const *,bool)" (??0MysqlConnection@@QAE@PBD000_N@Z)
Debug/mysql.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
GeneralRe: mysql and vc++6 Pin
Hardy_Smith13-Mar-06 6:21
Hardy_Smith13-Mar-06 6:21 
GeneralRe: mysql and vc++6 Pin
viperlogic13-Mar-06 6:32
viperlogic13-Mar-06 6:32 
GeneralRe: mysql and vc++6 Pin
Hardy_Smith13-Mar-06 6:45
Hardy_Smith13-Mar-06 6:45 
GeneralRe: mysql and vc++6 Pin
viperlogic13-Mar-06 7:08
viperlogic13-Mar-06 7:08 
QuestionReading contents of other apps Window Pin
Hardy_Smith13-Mar-06 5:53
Hardy_Smith13-Mar-06 5:53 
AnswerRe: Reading contents of other apps Window Pin
David Crow13-Mar-06 6:51
David Crow13-Mar-06 6:51 
GeneralRe: Reading contents of other apps Window Pin
Hardy_Smith13-Mar-06 6:56
Hardy_Smith13-Mar-06 6:56 
QuestionRe: Reading contents of other apps Window Pin
David Crow13-Mar-06 7:02
David Crow13-Mar-06 7:02 
AnswerRe: Reading contents of other apps Window Pin
Hardy_Smith13-Mar-06 20:22
Hardy_Smith13-Mar-06 20:22 
GeneralRe: Reading contents of other apps Window Pin
David Crow14-Mar-06 3:14
David Crow14-Mar-06 3:14 
Questionwhat is different cdialog and cdialogbar? Pin
derek713-Mar-06 5:12
derek713-Mar-06 5:12 
AnswerRe: what is different cdialog and cdialogbar? Pin
toxcct13-Mar-06 5:17
toxcct13-Mar-06 5:17 
Questionhow to get cview or cdocment object pointer? Pin
derek713-Mar-06 5:10
derek713-Mar-06 5:10 
AnswerRe: how to get cview or cdocment object pointer? Pin
Hardy_Smith13-Mar-06 6:37
Hardy_Smith13-Mar-06 6:37 
GeneralRe: how to get cview or cdocment object pointer? Pin
derek713-Mar-06 16:18
derek713-Mar-06 16:18 
QuestionPassing large char array information to dll Pin
Blubbo13-Mar-06 4:24
Blubbo13-Mar-06 4:24 
AnswerRe: Passing large char array information to dll Pin
Cedric Moonen13-Mar-06 4:36
Cedric Moonen13-Mar-06 4:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.