Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: About Cd-rom? Pin
Syouki_kou3-Jul-06 20:38
Syouki_kou3-Jul-06 20:38 
Questionstrange linking error with operator overloading Pin
George_George2-Jul-06 21:27
George_George2-Jul-06 21:27 
AnswerRe: strange linking error with operator overloading Pin
Viorel.2-Jul-06 21:40
Viorel.2-Jul-06 21:40 
GeneralRe: strange linking error with operator overloading Pin
George_George2-Jul-06 21:47
George_George2-Jul-06 21:47 
GeneralRe: strange linking error with operator overloading Pin
Viorel.2-Jul-06 22:02
Viorel.2-Jul-06 22:02 
GeneralRe: strange linking error with operator overloading Pin
George_George2-Jul-06 23:37
George_George2-Jul-06 23:37 
GeneralRe: strange linking error with operator overloading Pin
Viorel.3-Jul-06 0:08
Viorel.3-Jul-06 0:08 
GeneralRe: strange linking error with operator overloading [modified] Pin
George_George3-Jul-06 0:33
George_George3-Jul-06 0:33 
Thank you Viorel!


If it is the compiler who inserts source codes implementation of an inline function into the place when we invoke the function, I think there should be compiling errors other than link errors in my situation, right? But why when I build the foo.cpp, foo.h, adapter.cpp and adapter.h into a static library (foo.lib), there is no error (I think at this time, the compiler should insert the source codes implementation of inline method into the places where inline methods are invoked)?

But the errors are reported when we link the static library into an executable file?


regards,
George

-- modified at 6:34 Monday 3rd July, 2006
GeneralRe: strange linking error with operator overloading Pin
Viorel.3-Jul-06 1:58
Viorel.3-Jul-06 1:58 
GeneralRe: strange linking error with operator overloading Pin
George_George3-Jul-06 2:45
George_George3-Jul-06 2:45 
GeneralRe: strange linking error with operator overloading Pin
Viorel.3-Jul-06 3:35
Viorel.3-Jul-06 3:35 
GeneralRe: strange linking error with operator overloading [modified] Pin
George_George3-Jul-06 4:08
George_George3-Jul-06 4:08 
GeneralRe: strange linking error with operator overloading Pin
Viorel.3-Jul-06 4:24
Viorel.3-Jul-06 4:24 
GeneralRe: strange linking error with operator overloading Pin
George_George3-Jul-06 17:12
George_George3-Jul-06 17:12 
Questionsplit window Pin
ashish dogra2-Jul-06 21:27
ashish dogra2-Jul-06 21:27 
AnswerRe: split window Pin
Weiye Chen3-Jul-06 0:06
Weiye Chen3-Jul-06 0:06 
QuestionUse CDHtmlDialog in statically linked MFC DLL Pin
rockryan2-Jul-06 21:27
rockryan2-Jul-06 21:27 
AnswerRe: Use CDHtmlDialog in statically linked MFC DLL Pin
Hamid_RT2-Jul-06 22:31
Hamid_RT2-Jul-06 22:31 
Questionhow to transfer data between the tabs Pin
kotiramkoteswararao2-Jul-06 20:44
kotiramkoteswararao2-Jul-06 20:44 
AnswerRe: how to transfer data between the tabs Pin
capricious_0012-Jul-06 22:39
capricious_0012-Jul-06 22:39 
QuestionGEetting Socket Notification Sink Error Pin
zahid_ash2-Jul-06 20:31
zahid_ash2-Jul-06 20:31 
Questionsplitter window Pin
ashish dogra2-Jul-06 19:50
ashish dogra2-Jul-06 19:50 
AnswerRe: splitter window Pin
Abhi Lahare2-Jul-06 20:03
Abhi Lahare2-Jul-06 20:03 
GeneralRe: splitter window Pin
ashish dogra2-Jul-06 20:31
ashish dogra2-Jul-06 20:31 
GeneralRe: splitter window Pin
Abhi Lahare2-Jul-06 23:41
Abhi Lahare2-Jul-06 23:41 

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.