I need to extract part of the HDF data into Excel spreadsheet, I have created a small utility using using HDF.PInvoke. The code works well when I run as a form application unfortunately, it does not work when I call it from Excel ribbon created using VSTO. It fails with the recognize the constants H5P.FILE_CREATE, H5P.DEFAULT, H5F.ACC_RDONLY etc.
I believe it is something to do with partial classes of H5P or H5?global.cs files in HDF.PInvoke repository.
Is there a work around without modifying the dll?