30 Apr
2015
30 Apr
'15
12:06 p.m.
Ok, I already now how weird tree I have in project. First there is run service.exe which load dispather.dll. Here I use function from mainlibrary.dll (there is reference mainlibrary in dispatcher properties). Now from mainlibrary (where is declaration of tls) I load module.dll, in this module I all function from dispather and reset tls with value = 2, back to module and try to get value from tls, but it looks like tls is not initialized with any value. There is a difference beetwen boost tls and tls from win api in this case ?