40 bool current_program )
42 if ( current_program )
43 m_handle = dynamic_library_traits::auto_open( name );
45 m_handle = dynamic_library_traits::open( name );
47 if ( !dynamic_library_traits::valid_handle(m_handle) )
48 throw exception(
"Can't open library '" + name +
"'" );
57 dynamic_library_traits::close( m_handle );
67 return dynamic_library_traits::have_symbol( m_handle, name );