Click here to Skip to main content
16,011,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to use thread Pin
cancerion16-Jan-06 0:31
cancerion16-Jan-06 0:31 
AnswerRe: how to use thread Pin
Owner drawn16-Jan-06 1:18
Owner drawn16-Jan-06 1:18 
AnswerRe: how to use thread Pin
Eytukan16-Jan-06 3:07
Eytukan16-Jan-06 3:07 
AnswerRe: how to use thread Pin
ThatsAlok16-Jan-06 17:24
ThatsAlok16-Jan-06 17:24 
QuestionRescale video data Pin
dennis2416-Jan-06 0:12
dennis2416-Jan-06 0:12 
QuestionMS DataGrid Change Caption of Column Headers Pin
sdancer7515-Jan-06 22:44
sdancer7515-Jan-06 22:44 
QuestionADO 'Background Fetch Size' Pin
tuxyboy15-Jan-06 22:41
tuxyboy15-Jan-06 22:41 
QuestionLink error Pin
Russell'15-Jan-06 22:39
Russell'15-Jan-06 22:39 
I have a class on a library on the file Libr.h/.cpp
I build a doc/view app.
I link the header in Doc.h using #include "Libr.h",
and the code is pasted in Doc.cpp using #include "Libr.cpp".
View knows that the library exist because in View.h I have #include "Doc.h".
So I have some code that use the library in Doc.pp and View.cpp.

But the problem is:
Doc.cpp OK
View.cpp: Link error LNK2019 (functions not finded when link: but no problems when compile)

So I tried to past #include "Libr.cpp" in View.cpp, and then:
Doc.cpp: Link error LNK2019
View.cpp OK

Damn!
And this appens only with some functions of the library, and strange thing is that this functions are very very similar to other functions that haven't got any problem!!

Can anybody help me??
(sorry for the long message)

Have a nice code day Wink | ;)


AnswerRe: Link error Pin
tuxyboy15-Jan-06 22:46
tuxyboy15-Jan-06 22:46 
GeneralRe: Link error Pin
Prakash Nadar15-Jan-06 22:46
Prakash Nadar15-Jan-06 22:46 
AnswerRe: Link error Pin
Prakash Nadar15-Jan-06 22:46
Prakash Nadar15-Jan-06 22:46 
AnswerRe: Link error Pin
vallikumar16-Jan-06 17:35
vallikumar16-Jan-06 17:35 
GeneralRe: Link error Pin
Russell'15-Jan-06 23:44
Russell'15-Jan-06 23:44 
GeneralRe: Link error Pin
Prakash Nadar15-Jan-06 23:50
Prakash Nadar15-Jan-06 23:50 
GeneralRe: Link error Pin
Prakash Nadar15-Jan-06 23:52
Prakash Nadar15-Jan-06 23:52 
GeneralRe: Link error Pin
Russell'16-Jan-06 0:01
Russell'16-Jan-06 0:01 
GeneralRe: Link error Pin
Prakash Nadar16-Jan-06 0:16
Prakash Nadar16-Jan-06 0:16 
Questionunit test case Pin
bigbluff15-Jan-06 20:48
bigbluff15-Jan-06 20:48 
AnswerRe: unit test case Pin
toxcct15-Jan-06 21:40
toxcct15-Jan-06 21:40 
AnswerRe: unit test case Pin
vallikumar16-Jan-06 17:49
vallikumar16-Jan-06 17:49 
QuestionDependency/Sequnetial building in .NET Pin
kvprasad15-Jan-06 20:00
professionalkvprasad15-Jan-06 20:00 
AnswerRe: Dependency/Sequnetial building in .NET Pin
Stephen Hewitt16-Jan-06 11:29
Stephen Hewitt16-Jan-06 11:29 
QuestionA simple tab question Pin
kevincwong15-Jan-06 19:51
kevincwong15-Jan-06 19:51 
AnswerRe: A simple tab question Pin
Owner drawn15-Jan-06 19:54
Owner drawn15-Jan-06 19:54 
AnswerRe: A simple tab question Pin
Saurabh.Garg15-Jan-06 19:57
Saurabh.Garg15-Jan-06 19:57 

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.