
30 Aug
2010
30 Aug
'10
3:06 p.m.
On 27.08.2010 10:30, Sivaram Kannan wrote:
Single stepping I found the following line from the global macro
sources::wseverity_logger_mt<> lg;<===================
is not creating the lg object at all. What is the problem in the release mode?? As a summary of the problem,
* An exe build in debug/release mode is working properly. * This application is a dll. * The same dll is working properly in debug mode.
Sorry for the late response. Do I get it right that you built Boost.Log as dll? If so, please elaborate what you mean by "not creating the lg object at all". Does execution reach this line? If not, then what happens before it? I bet it is somehow related to the Log_Init function you call before it.