Click here to Skip to main content
16,021,041 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: WM_COMMAND [modified] Pin
earl13-Jul-06 5:23
earl13-Jul-06 5:23 
AnswerRe: WM_COMMAND Pin
Sarath C13-Jul-06 0:39
Sarath C13-Jul-06 0:39 
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 
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 
Ah no -- you certainly don't need a .lib for both.

They're called "linking" in the MS docs. Early linking means you use a lib and your linker inserts thunks that are later fixed up either on exe start when the run time loads the dll or on first function call if you used a delay-load pragma.

Late linking, or a dynamically linked dll, you have no lib and not necessarily any .h file (though the latter helps, because you need to know the function signatures). You can simply call LoadLibrary then GetProcAddress with a function name to get a function pointer and that's it. There is no type checking on the function pointer so you better know the signature (here's where a h file is handy) but no h file is required.
See: MSDN[^]

earl
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 Taebi13-Jul-06 0:08
professionalHamid Taebi13-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 

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.