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,930
  • 5
  • 30
  • 65

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
  • 231,907
  • 34
  • 361
  • 483