Click here to Skip to main content
15,890,882 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIPC (Inter Process Comunication) [modified] Pin
A_Fa12-Jul-06 23:29
A_Fa12-Jul-06 23:29 
AnswerRe: IPC (Inter Process Comunication) Pin
Jonathan [Darka]13-Jul-06 0:01
professionalJonathan [Darka]13-Jul-06 0:01 
AnswerRe: IPC (Inter Process Comunication) Pin
earl13-Jul-06 7:50
earl13-Jul-06 7:50 
QuestionDifference between Static lib and Dynamic lib Pin
NiceNaidu12-Jul-06 23:22
NiceNaidu12-Jul-06 23:22 
AnswerRe: Difference between Static lib and Dynamic lib Pin
Prakash Nadar13-Jul-06 0:58
Prakash Nadar13-Jul-06 0:58 
GeneralRe: Difference between Static lib and Dynamic lib Pin
Chris Losinger13-Jul-06 3:29
professionalChris Losinger13-Jul-06 3:29 
GeneralRe: Difference between Static lib and Dynamic lib Pin
Prakash Nadar14-Jul-06 4:48
Prakash Nadar14-Jul-06 4:48 
GeneralRe: Difference between Static lib and Dynamic lib Pin
Zac Howland13-Jul-06 4:11
Zac Howland13-Jul-06 4:11 
Mr.Prakash wrote:
libs are not be classifed as static or dynamic, the dlls are classifed as static or dynamic.


That is only partially correct. *.lib files area always statically linked. That is, when you link with a lib file, the code from it becomes part of your executable (be it a dll or exe). *.dll files are always "dynamic", but they have 2 types of binding (early and late). Early binding to a Dll is when you link to it specifically (that is, include the header file and have its lib placed in the link path), the linker puts the location of the dll resource your executable is trying to access in place of copying the code for it. You can think if it kind of like a pointer to what you really want, which resides in the dll. Late binding is when you use LoadLibrary/GetProcAddress to open a dll and search for the resource you want to use. To compile an executable using early binding, you need to have access to the dll, its header files, and its lib. To compile an executable using late binding, you don't even need the dll on the machine (though, without it, your code won't run when you try to execute it).

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
GeneralRe: Difference between Static lib and Dynamic lib Pin
Prakash Nadar14-Jul-06 4:53
Prakash Nadar14-Jul-06 4:53 
GeneralRe: Difference between Static lib and Dynamic lib Pin
earl14-Jul-06 5:03
earl14-Jul-06 5:03 
AnswerRe: Difference between Static lib and Dynamic lib Pin
Rilhas17-Jul-06 13:16
Rilhas17-Jul-06 13:16 
Questionget the desktop(monitor) width and height using win32 Pin
kk_mfc12-Jul-06 23:19
kk_mfc12-Jul-06 23:19 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
Jonathan [Darka]12-Jul-06 23:23
professionalJonathan [Darka]12-Jul-06 23:23 
GeneralRe: get the desktop(monitor) width and height using win32 Pin
Jonathan [Darka]12-Jul-06 23:29
professionalJonathan [Darka]12-Jul-06 23:29 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
Naveen12-Jul-06 23:24
Naveen12-Jul-06 23:24 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
NiceNaidu12-Jul-06 23:26
NiceNaidu12-Jul-06 23:26 
AnswerRe: get the desktop(monitor) width and height using win32 Pin
Hamid_RT13-Jul-06 0:08
Hamid_RT13-Jul-06 0:08 
GeneralRe: get the desktop(monitor) width and height using win32 Pin
kk_mfc13-Jul-06 0:31
kk_mfc13-Jul-06 0:31 
QuestionCatching Exceptions thrown by a process Pin
Pavan Rao12-Jul-06 22:54
Pavan Rao12-Jul-06 22:54 
AnswerRe: Catching Exceptions thrown by a process Pin
Jonathan [Darka]12-Jul-06 23:04
professionalJonathan [Darka]12-Jul-06 23:04 
AnswerRe: Catching Exceptions thrown by a process Pin
Stephen Hewitt13-Jul-06 1:20
Stephen Hewitt13-Jul-06 1:20 
GeneralRe: Catching Exceptions thrown by a process Pin
Pavan Rao13-Jul-06 18:57
Pavan Rao13-Jul-06 18:57 
GeneralRe: Catching Exceptions thrown by a process Pin
Pavan Rao13-Jul-06 21:27
Pavan Rao13-Jul-06 21:27 
QuestionFindFile in website Pin
includeh1012-Jul-06 22:37
includeh1012-Jul-06 22:37 
AnswerRe: FindFile in website Pin
eusto13-Jul-06 0:50
eusto13-Jul-06 0: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.