How to call a vg runtime with c++ program?