Jan Wosnitza
Jan Wosnitza
Reinstalling the plugin fixed it for me (at least for the moment ^^). PS: The plugin still worked with some solutions but suddenly disabled itself on other solutions. Didn't recognize...
Having more than one way to resolve the path might be the best solution?
Hi @SBahre, IntPtr can be a lot of things e.g. a void pointer or an integer. In case of [SafeHandle.DangerousGetHandle](https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.safehandle.dangerousgethandle?view=netframework-4.7.2) it's a windows handle like the one returned from [OpenFile](https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-openfile)....
I would say this is a this is a bug in `Assembly.CodeBase`, because '#' should be escaped as '%23'.
or `new Uri(...Assembly.EscapedCodeBase).AbsolutePath` would do the job too. Replacing `Uri.AbsolutePath`& `Uri.UnescapeDataString()` with `Uri.LocalPath` might also be an option?
There is a good explanation when you scroll down to [7.3.2.5. C versus Fortran Dataspaces](https://support.hdfgroup.org/HDF5/doc/UG/HDF5_Users_Guide-Responsive%20HTML5/index.html#t=HDF5_Users_Guide%2FDataspaces%2FHDF5_Dataspaces_and_Partial_I_O.htm%23TOC_7_3_2_Dataspacebc-5&rhtocid=7.1.0_2). > When a Fortran application describes a dataspace to store an array as A(20,100), it...
I started a [branch](https://github.com/JanWosnitza/HDF.PInvoke/tree/typdefs-as-structs) with the suggested changes. Though it's not done yet.
@hokb I noticed, that both `size_t` and `ssize_t` are mapped to `System.IntPtr` in every file. Is this on purpose? As far as I know the first s in `ssize_t`means "signed"...
> [Writing CLS-Compliant Code](https://msdn.microsoft.com/en-us/library/bhc3fa7f.aspx) > The features you use in the definitions of your private classes, in the definitions of private methods on public classes, and in local variables do...
@hokb 1. **Member Access**: Since it's a struct with a field, I'm not sure if this really changes performance. 2. **Marshalling**: Valid point. No havn't checked yet. But hope it's...