With the use of ninvoke