I'm calling H5P::create(H5P.PropertyListClass.FILE_ACCESS) but the internal
call to H5Pcreate is failing and returning -1.

I've looked the 'H5P::create' in the HDF5DotNet.dll code and the *'classId'*
which is used as follows 'hid_t id = H5Pcreate(static_cast<int>(classId));'
*doesn't appear to be getting set correctly* i.e. it's remains at -1.

It should be getting set, in this case, to 'H5P_CLS_FILE_ACCESS_g.'

'H5P_CLS_FILE_ACCESS_g' is defined as 'H5_DLLVAR hid_t
H5P_CLS_FILE_ACCESS_g' in H5Ppublic.h. However, for some reason (compiler
option?) the HDF5DotNet dll doesn't know its value.



--
View this message in context: 
http://hdf-forum.184993.n3.nabble.com/HDF5DotNet-H5P-create-H5P-PropertyListClass-FILE-ACCESS-fails-i-e-returns-1-tp4025153.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to