Click here to Skip to main content
15,886,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying Message Box while program(code) continues Pin
ThatsAlok31-May-06 0:42
ThatsAlok31-May-06 0:42 
GeneralRe: Displaying Message Box while program(code) continues Pin
toxcct31-May-06 0:58
toxcct31-May-06 0:58 
GeneralRe: Displaying Message Box while program(code) continues Pin
ThatsAlok31-May-06 1:54
ThatsAlok31-May-06 1:54 
QuestionBitmap Planes Pin
Sarath C30-May-06 20:41
Sarath C30-May-06 20:41 
AnswerRe: Bitmap Planes Pin
Steve Echols30-May-06 21:57
Steve Echols30-May-06 21:57 
GeneralRe: Bitmap Planes Pin
NiceNaidu30-May-06 22:52
NiceNaidu30-May-06 22:52 
Question.obj, .lib and .dll? Pin
Polite Programmer30-May-06 20:40
Polite Programmer30-May-06 20:40 
AnswerRe: .obj, .lib and .dll? Pin
Cedric Moonen30-May-06 21:03
Cedric Moonen30-May-06 21:03 
Polite Programmer wrote:
My question is that when I provided it with .lib file, FreeType library should be statically linked to my program why it requires the .dll to be accessible for the EXE?


No, this is not entirely true. The lib files doesn't not contain the code of the library but rather the 'prototypes' of the functions from the dll. So, you need to link with it in order to know wich are the functions from your dll. Then, of course you need to have your dll in your working folder in order to load the functions at run-time. You don't need the lib file only if you load explicitely the functions from the dll (using LoadLibrary and GetProcAddress).

Of course, you can also have lib files which contain code (so, that are not associated with a dll).


Cédric Moonen
Software developer

Charting control
GeneralRe: .obj, .lib and .dll? Pin
NiceNaidu30-May-06 21:19
NiceNaidu30-May-06 21:19 
GeneralRe: .obj, .lib and .dll? Pin
Polite Programmer31-May-06 19:15
Polite Programmer31-May-06 19:15 
QuestionOptional arguments Pin
SWDevil30-May-06 20:39
SWDevil30-May-06 20:39 
AnswerRe: Optional arguments Pin
Nibu babu thomas30-May-06 20:48
Nibu babu thomas30-May-06 20:48 
AnswerRe: Optional arguments Pin
_anil_30-May-06 21:00
_anil_30-May-06 21:00 
GeneralRe: Optional arguments Pin
SWDevil30-May-06 21:16
SWDevil30-May-06 21:16 
GeneralRe: Optional arguments Pin
Cedric Moonen30-May-06 21:18
Cedric Moonen30-May-06 21:18 
GeneralRe: Optional arguments Pin
Owner drawn30-May-06 21:25
Owner drawn30-May-06 21:25 
GeneralRe: Optional arguments Pin
ThatsAlok30-May-06 23:59
ThatsAlok30-May-06 23:59 
GeneralRe: Optional arguments Pin
Rajesh R Subramanian9-Oct-06 21:54
professionalRajesh R Subramanian9-Oct-06 21:54 
GeneralRe: Optional arguments Pin
Owner drawn16-Oct-06 19:25
Owner drawn16-Oct-06 19:25 
GeneralRe: Optional arguments Pin
_anil_30-May-06 21:29
_anil_30-May-06 21:29 
AnswerRe: Optional arguments Pin
toxcct30-May-06 21:46
toxcct30-May-06 21:46 
GeneralRe: Optional arguments Pin
SWDevil30-May-06 21:59
SWDevil30-May-06 21:59 
GeneralRe: Optional arguments Pin
toxcct30-May-06 22:04
toxcct30-May-06 22:04 
GeneralRe: Optional arguments Pin
ThatsAlok31-May-06 17:50
ThatsAlok31-May-06 17:50 
AnswerRe: Optional arguments Pin
BadKarma30-May-06 22:50
BadKarma30-May-06 22:50 

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.