plugin to replace CHAR* with a a"smart pointer" ??