Passing hid_t file handle between libraries and main application

Hi,

     Whilst writing unit tests for my libraries, I am opening (readonly) a HDF5 file in the main test harness and passing the handle to various APIs in my library to exercise them (data query)

     After the file is closed (in the main app/test harness), the HDF5 file becomes truncated.

     Is there some newbie error I am making?

Cheers

···

--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue