Click here to Skip to main content
15,908,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: lib file Pin
Cedric Moonen18-May-06 4:10
Cedric Moonen18-May-06 4:10 
GeneralRe: lib file Pin
big_denny_20018-May-06 6:28
big_denny_20018-May-06 6:28 
AnswerRe: lib file Pin
NiceNaidu18-May-06 4:32
NiceNaidu18-May-06 4:32 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:41
Cedric Moonen18-May-06 4:41 
AnswerRe: lib file Pin
Eytukan18-May-06 4:34
Eytukan18-May-06 4:34 
GeneralRe: lib file Pin
Rage18-May-06 4:42
professionalRage18-May-06 4:42 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:45
Cedric Moonen18-May-06 4:45 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:50
NiceNaidu18-May-06 4:50 
lib and .dll are completely different .

The .lib file is a file that has the stuff the linker needs to build your executable program. Windows cannot use them, but compilers and linkers can. Its a lot like a .obj file really, except it contains everything needed for all the stuff in your 'library' whereas an obj is from a single source file. It also contains a protocol for the associated .dll (basicaly, offsets of where functions start, the name and parameters(?) of the functions, calling conventions(?) and things like this).

A .dll can have a lot of different stuff -- data, functions, anything really. A dll that has shared routines is what the OS needs to run those routines -- compare this to a 'mini executable'. A program smoothly jumps from its own executable statements to the ones in the .dll and back again. Windows does some smoke and mirrors here to make the file loading efficient(ish).


Appu..
"If you judge people, you have no time to love them."
GeneralRe: lib file Pin
Eytukan18-May-06 4:54
Eytukan18-May-06 4:54 
AnswerRe: lib file Pin
Eytukan18-May-06 4:54
Eytukan18-May-06 4:54 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:43
NiceNaidu18-May-06 4:43 
GeneralRe: lib file Pin
Cedric Moonen18-May-06 4:46
Cedric Moonen18-May-06 4:46 
GeneralRe: lib file Pin
NiceNaidu18-May-06 4:53
NiceNaidu18-May-06 4:53 
GeneralRe: lib file Pin
Eytukan18-May-06 4:56
Eytukan18-May-06 4:56 
GeneralRe: lib file Pin
Rage18-May-06 6:04
professionalRage18-May-06 6:04 
GeneralRe: lib file Pin
sunit518-May-06 19:40
sunit518-May-06 19:40 
AnswerRe: lib file Pin
knoxplusplus23-May-06 8:07
knoxplusplus23-May-06 8:07 
QuestionCopy user profiles's files 2 Pin
honae18-May-06 2:41
honae18-May-06 2:41 
AnswerRe: Copy user profiles's files 2 Pin
Rage18-May-06 4:38
professionalRage18-May-06 4:38 
QuestionHow i use GetLenght() , GetAt() functions? Pin
Immunity1818-May-06 2:21
Immunity1818-May-06 2:21 
AnswerRe: How i use GetLenght() , GetAt() functions? Pin
Cedric Moonen18-May-06 2:26
Cedric Moonen18-May-06 2:26 
AnswerRe: How i use GetLenght() , GetAt() functions? Pin
Laxman Auti18-May-06 2:39
Laxman Auti18-May-06 2:39 
GeneralRe: How i use GetLenght() , GetAt() functions? Pin
NiceNaidu18-May-06 3:08
NiceNaidu18-May-06 3:08 
AnswerRe: How i use GetLenght() , GetAt() functions? Pin
ThatsAlok18-May-06 2:50
ThatsAlok18-May-06 2:50 
AnswerRe: How i use GetLenght() , GetAt() functions? Pin
#realJSOP18-May-06 3:27
professional#realJSOP18-May-06 3:27 

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.