HI, I have doubt on this topic before watching this video. But i cleared my doubt after watching this video. Nice explanation. Kindly upload IPC(Inter process communication) topic videos along with examples by writing the code in c++. I hope that i will get the notification from you about IPC concept.
must have explained a disadvantage of dynamic linking where if we forget to provide the dll, the program won't work where as in case of static linking, all code is in a single executable
Have a doubt here. We know that Assembler does its job before Linker. We also know that a function call in Assembly simply means we move to the address of the assembly code for the function. If we make a function call ( to library function ) , we need to make sure the assembly for the code moves to the address. BUT , if linker attaches library code after Assembly, then - 1) How can assembly code be corrected with new address of function that linker included ? 2) Or the linker will have to produce corresponding object code for moving to the new address.
Good Explanation ... but I have a query .. In dynamic linking executable contains the address of function because of which executable size is small. But where the function will be available in case I have installed app in iPhone ? Which part of memory ?
i think i understand the difference between the two, thanks to your video but can you show an example of dynamic inking. what would the code look like?
it looks like more or less as diff b/w function and inline function.static linking working as inline function & dynamic linking working as normal function.the main diff is in linking it is doing with library files,in functions it is doing with function statements.
@HowTo sir , if in dynamic linking the the updated function is build in library ,then that updated library will be stored in another address ,but our.exe file is storing address of previous library . So how the updated library get linked with our .exe file??
in which library is one function being called? only stdio.h was included, one function should be defined in another library, which I don't see included
At last, i got it . But sir i have a question ,you said in dynamic linking object file contains the address of the function (already loaded in memory ) .Sir function already loaded in memory then if there is a change in the function that means the address (loaded function file) is useless for us. In static linking we need to compile the whole program again but in dynamic linking we only need to compile that function file again if it is not already loaded into memory .If program has the function address and there is a change in in function occur how the linker will handle it ?
in which library is one function being called? only stdio.h was included, one function should be defined in another library, which I don't see included