hope you are doing well. i wrote this simple code to create handles
static AddInX xai_test1(FunctionX(XLL_HANDLEX, _T("?xll_test1"), _T("test1"))
.Arg(XLL_LPOPERX, _T("arg1"), _T("arg1"))
handle<double> h1(new double(0.));
h = h1.get();
catch (const std::exception& ex)
then in the debugger i stop at
T* q = previous();
inside static void insert(T* p, D d) to see what handles are getting created and deleted.
I observe that each time i make the call the handle_set h keeps growing. i thought if i repeatedly keep calling "test1" from the same cell the handle_set h should not grow ?
any comments ?