Boost logo

Boost :

From: Toshiyuki Tega (toshiyuki.tega_at_[hidden])
Date: 2007-05-05 02:11:31


Hi,

I've just noticed that, in mutex.inl (boost::thread), a string argument
to GetProcAddress is inproperly guarded by TEXT() macro.

mutex.inl, line 27
  ... GetProcAddress(kernel_module, TEXT("TryEnterCriticalSection")));

Since GetProcAddress doesn't have ANSI/Unicode versions, TEXT() should
be stripped off. I'm referring to the 1.34.0 beta sources.

Thanks in advance.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk