If I declare a variable in the data? of A dll File, Then on calling a procedure in this dll file by a calling program this variable aquired a value. (the calling program does not see this variable) The Question is: Is the variable still has this value on next call by the same calling program,or by a second calling program. Thanks For ALL.
Posted on 2001-04-26 22:07:00 by a nada
Data saved and recalled in he same process will be the same data. Data saved by one process will NOT be seen by another process. Each process gets it's own .data segment. That's also true for dll's.
Posted on 2001-04-27 00:08:00 by Ernie
You can use shared data in .data? section. Link your dll with key /SECTION:.bss, S.
Posted on 2001-04-27 00:41:00 by vkim
Thanks Ernie & vKim.
Posted on 2001-04-27 01:19:00 by a nada