1

I have a dll, which is loaded by the couple of processes. In that DLL source code I have an instance of global variable. Will this global variable be the same in all loaded processes ? Or will it be as the unique variable in each process ?

unresolved_external
  • 1,892
  • 4
  • 28
  • 62

1 Answers1

2

It will be unique to each process, unless (i) you've written explicit code to share inter-process or (ii) are still using a 16 bit dll.

Bathsheba
  • 227,678
  • 33
  • 352
  • 470