Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-05-09 13:04:49

Hi Dirk,

Hope you're using the latest version (

It should work, if you define BOOST_LOG_DYN_LINK in both .lib and in the
.exe application.

If this fails to work, please send me a trimmed down version of your
project (john at torjo dot com)


> Hi John,
> (I don't know if you get this but anyway).
> If I define & enable a log in a .lib but use it in a .dll somewhere else
> in the app (via declare in a .hpp file), I don't get no output from the
> dll:
> app.exe
> / \
> log.lib stuff.dll
> (Compiles/links fine and the exe has output - but the dll has not.)
> Somehow, I want to avoid having a 'DECLARE + setup_logging' in all my
> dlls.
> Am I missing something?
> Best wishes, Dirk Griffioen

John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- -v1.6.3 (Resource Splitter)
-- - Click, Build, Run!

Boost list run by bdawes at, gregod at, cpdaniel at, john at