add extern object handle on fun3.cpp