From: Roland (roland.schwarz_at_[hidden])
Date: 2004-08-01 15:47:31
On Sun, 01 Aug 2004 22:31:22 +0200 Bronek Kozicki <brok_at_[hidden]> wrote:
> However, you may define this symbol ("extern "C" const DWORD
> _tls_used; const DWORD _tls_used = ...") yourself in executable
> (but not in .tls section) and if you build this symbol right way (as
> demonstrated by Holger and specified in section 6.7.1 of PE/COFF
> specification) your callback procedure will be recognized by operating
> system and called at the right time. I think that it does not conform to
> PE/COFF specification (section 6.7 explicitly specify section name .tls)
> but it works, even on MSVC6 (but not under MinGW, hmmm ...).
Just tried this at home. My MSVC 6.0 compiler does not do the trick. :-(
Might it be, that running on W2K is the problem?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk