Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 21:07
pl_kode12-May-08 21:07 
GeneralRe: Getting rid of this error Pin
Rajesh R Subramanian12-May-08 21:13
professionalRajesh R Subramanian12-May-08 21:13 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 21:28
pl_kode12-May-08 21:28 
General[OT] Re: Getting rid of this error Pin
David Crow13-May-08 3:03
David Crow13-May-08 3:03 
AnswerRe: Getting rid of this error Pin
Rajkumar R12-May-08 21:20
Rajkumar R12-May-08 21:20 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 21:28
pl_kode12-May-08 21:28 
GeneralRe: Getting rid of this error Pin
Rajkumar R12-May-08 21:38
Rajkumar R12-May-08 21:38 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 22:18
pl_kode12-May-08 22:18 
I have done like this..

extern string log(string);

extern"C"
void Logger::logMIN(string message)
{
	log(message);		
}


error is...
Linking...
Logger.obj : error LNK2001: unresolved external symbol "class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __cdecl log(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > ) " (?l
og@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V12@@Z)
Debug/test_dll_log.exe : fatal error LNK1120: 1 unresolved externals
</char></char,struct></char></char,struct>

QuestionRe: Getting rid of this error Pin
Rajkumar R12-May-08 22:49
Rajkumar R12-May-08 22:49 
AnswerRe: Getting rid of this error Pin
pl_kode12-May-08 23:04
pl_kode12-May-08 23:04 
AnswerRe: Getting rid of this error Pin
Rajkumar R12-May-08 23:39
Rajkumar R12-May-08 23:39 
GeneralRe: Getting rid of this error Pin
pl_kode12-May-08 23:53
pl_kode12-May-08 23:53 
GeneralRe: Getting rid of this error Pin
Rajkumar R13-May-08 0:04
Rajkumar R13-May-08 0:04 
Questionerror in MFC Pin
Mohanraj D12-May-08 20:48
Mohanraj D12-May-08 20:48 
AnswerRe: error in MFC Pin
Cedric Moonen12-May-08 21:03
Cedric Moonen12-May-08 21:03 
QuestionXOffice Print Preview and Freez panes not working for Excel Pin
SNI12-May-08 19:21
SNI12-May-08 19:21 
QuestionPrinting a screen shot using VC++/MFC Pin
jasmine_12312-May-08 19:07
jasmine_12312-May-08 19:07 
AnswerRe: Printing a screen shot using VC++/MFC Pin
Naveen12-May-08 19:13
Naveen12-May-08 19:13 
AnswerRe: Printing a screen shot using VC++/MFC Pin
Hamid_RT12-May-08 19:22
Hamid_RT12-May-08 19:22 
AnswerRe: Printing a screen shot using VC++/MFC Pin
David Crow13-May-08 3:08
David Crow13-May-08 3:08 
QuestionCompilation error while including a headerfile of MFC application into a Win32 lib Pin
V K 212-May-08 18:56
V K 212-May-08 18:56 
AnswerRe: Compilation error while including a headerfile of MFC application into a Win32 lib Pin
Rajkumar R12-May-08 19:28
Rajkumar R12-May-08 19:28 
Questionfread error in Console application Pin
Anu_Bala12-May-08 18:22
Anu_Bala12-May-08 18:22 
AnswerRe: fread error in Console application Pin
namaskaaram12-May-08 19:34
namaskaaram12-May-08 19:34 
AnswerRe: fread error in Console application Pin
Rajkumar R12-May-08 19:35
Rajkumar R12-May-08 19:35 

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.