24 Apr
2006
24 Apr
'06
8:45 p.m.
"Johannes"
In one of our applications we develop modules that are loaded in to another application (AutoCAD).
Since we don't have access to the main function and the modules don't work outside of the application I was wondering if there is a way to make Boost::Test work in an ordinary function? I have not been able to find any such information.
You could do that. remove unit_test_main from static lib and write your own similar. Also latest (in cvs ) version of Boost.Test support dynamic library build. It doesn't define main at all. Let me know how would you prefer to move on and I could give you more help. Gennadiy