Canopus: int , .
TK ___: dll .
Assaf Shing Yip: dll FreeLibrary() , - tr1:: shared_ptr ( STL), try {}. , , , , DLL, , RAII. , , , - .
, , , , , , FreeLibrary() , , } catch {}.
Magnus Skog: In release mode, I also get a crash, not an exception trap, and then continued execution in normal mode. Dynamic memory is processed by 1) the new operator in several cases, 2) tr1 :: shared_ptr and 3) _mm_malloc / _mm_free, where I need alignment.
Prune
source
share