Suppose i have a .dll that is loaded by a program and i start that program twice. Will the .data and .data? sections in said .dll be shared by both instances or will each instance have separate .data and .data? sections? I just wanna know if it would be better to eliminate the .data sections and allocate memory during runtime instead.
Posted on 2001-04-09 15:55:00 by Zynaps
only the dll code will be shared, each process will have it's own data section of the dll. why you would eliminate the .data sections and allocate memory during runtime? wouldn't that be basicaly the same:confused:?
Posted on 2001-04-09 17:17:00 by ensein
Wanted to do it incase the .data sections were shared :) But since they are not i'll keep them...
Posted on 2001-04-10 06:13:00 by Zynaps