Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: I'm OK but... PinmvpEspen Harlinn7-Jan-13 21:57 
GeneralRe: I'm OK but... PinmemberMycroft Holmes7-Jan-13 22:00 
GeneralA Quick Question on Linking. PinmemberJacob F. W.7-Jan-13 19:54 
GeneralRe: A Quick Question on Linking. Pinmember_Maxxx_7-Jan-13 20:10 
When you compile you create object files.
When you link you create an executable from those files.
If file A uses something in File B then the linker resolves the reference from A to B
If file B uses something in File A then the linker resolves the reference from B to A
 
So it is one way from that respect.
 
Object B will not know anything about what objects are linked to it (it can't - how would a generic library know anything about your code?)
 
Circular references (i.e. from A to B and also from B to A) are (generally speaking) not allowed.
MVVM# - See how I did MVVM my way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
 
.\\axxx
(That's an 'M')

GeneralRe: A Quick Question on Linking. PinmemberJacob F. W.7-Jan-13 20:38 
GeneralRe: A Quick Question on Linking. PinprotectorPete O'Hanlon7-Jan-13 21:00 
GeneralRe: A Quick Question on Linking. PinmemberSeattleC++9-Jan-13 5:30 
GeneralRe: A Quick Question on Linking. PinprotectorPete O'Hanlon9-Jan-13 5:40 
GeneralRe: A Quick Question on Linking. PinmemberSeattleC++9-Jan-13 7:03 
GeneralRe: A Quick Question on Linking. PinprotectorPete O'Hanlon9-Jan-13 7:11 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 10 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid