Click here to Skip to main content
15,888,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to print text from a form? Pin
ivanris22-Jun-06 13:02
ivanris22-Jun-06 13:02 
QuestionRe: how to print text from a form? Pin
Hamid_RT22-Jun-06 19:52
Hamid_RT22-Jun-06 19:52 
AnswerRe: how to print text from a form? Pin
Ștefan-Mihai MOGA22-Jun-06 22:26
professionalȘtefan-Mihai MOGA22-Jun-06 22:26 
QuestionCString Link Error Pin
Julian Goldsmith22-Jun-06 13:01
Julian Goldsmith22-Jun-06 13:01 
AnswerRe: CString Link Error Pin
Chris Losinger22-Jun-06 15:58
professionalChris Losinger22-Jun-06 15:58 
GeneralRe: CString Link Error Pin
Julian Goldsmith23-Jun-06 4:29
Julian Goldsmith23-Jun-06 4:29 
GeneralRe: CString Link Error Pin
Chris Losinger23-Jun-06 4:53
professionalChris Losinger23-Jun-06 4:53 
QuestionError LNK 2001/2019 CreateMutex WaitForSingleObject Pin
magicInc22-Jun-06 10:08
magicInc22-Jun-06 10:08 
I am building an open-source project, where first I have to build the base library(INDRI.lib). I successfully generate the base library file without any error. However, when I run the samples use that lib file, it creates LNK 2019 errors,

indri.lib(File.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) void * __stdcall CreateMutexA(struct _SECURITY_ATTRIBUTES *,int,char const *)" (__imp_?CreateMutexA@@YGPAXPAU_SECURITY_ATTRIBUTES@@HPBD@Z) referenced in function "public: unsigned int __thiscall indri::file::File::read(void *,unsigned __int64,unsigned int)" (?read@File@file@indri@@QAEIPAX_KI@Z)
indri.lib(KrovetzStemmer.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long __stdcall WaitForSingleObject(void *,unsigned long)" (__imp_?WaitForSingleObject@@YGKPAXK@Z)
indri.lib(Thread.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall CloseHandle(void *)" (__imp_?CloseHandle@@YGHPAX@Z)

Can anyone suggest the solution of the problem?
Is it related socket library?
SKP
AnswerRe: Error LNK 2001/2019 CreateMutex WaitForSingleObject Pin
Zac Howland22-Jun-06 10:19
Zac Howland22-Jun-06 10:19 
GeneralRe: Error LNK 2001/2019 CreateMutex WaitForSingleObject Pin
magicInc22-Jun-06 10:43
magicInc22-Jun-06 10:43 
Questionhow to update dialogbox when focus is lost Pin
Shrinaresh22-Jun-06 9:50
Shrinaresh22-Jun-06 9:50 
AnswerRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 3:40
David Crow23-Jun-06 3:40 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 5:15
Shrinaresh23-Jun-06 5:15 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 5:35
David Crow23-Jun-06 5:35 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 8:19
Shrinaresh23-Jun-06 8:19 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow23-Jun-06 9:06
David Crow23-Jun-06 9:06 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh23-Jun-06 10:02
Shrinaresh23-Jun-06 10:02 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow26-Jun-06 3:29
David Crow26-Jun-06 3:29 
GeneralRe: how to update dialogbox when focus is lost Pin
Shrinaresh27-Jun-06 7:06
Shrinaresh27-Jun-06 7:06 
QuestionRe: how to update dialogbox when focus is lost Pin
David Crow27-Jun-06 9:52
David Crow27-Jun-06 9:52 
AnswerRe: how to update dialogbox when focus is lost Pin
Shrinaresh27-Jun-06 16:10
Shrinaresh27-Jun-06 16:10 
GeneralRe: how to update dialogbox when focus is lost Pin
David Crow28-Jun-06 2:29
David Crow28-Jun-06 2:29 
Questionget millisecond Pin
LeeeNN22-Jun-06 9:22
LeeeNN22-Jun-06 9:22 
AnswerRe: get millisecond Pin
Zac Howland22-Jun-06 9:29
Zac Howland22-Jun-06 9:29 
GeneralRe: get millisecond Pin
LeeeNN22-Jun-06 10:24
LeeeNN22-Jun-06 10:24 

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.