>(BTW apparently you're using C++, not C, so why are you using the C API?)>>>Jeroen>>>> >C API is simple,clean