29.11.2014 4:16, Dana Robinson пишет:
I'll create a JIRA issue for this and take another look during this release
cycle. One thing I did not do was test repeated load/unload from a managed
environment so I'm not sure if there are issues there. I don't have Delphi, but
I can try doing the same thing in C# or some other environment.
Hello Dana!
Please note that Delphi produces unmanaged code (like C and unlike C#).
You can you FreePascal (http://www.freepascal.org/) to compile my
minimal example (fpc test.dpr -Mdelphi).
For your convenience I've converted my code to plain C (in attachment).
It also reproduces the problem.
Best wishes,
and Thank you for your support,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
#include <stdio.h>
#include <windows.h>
typedef int herr_t;
typedef herr_t (*H5open_t)();
typedef herr_t (*H5close_t)();
int main(void)
{
HINSTANCE dll;
H5open_t H5open;
H5close_t H5close;
while(1)
{
dll = LoadLibrary("hdf5.dll");
H5open = (H5open_t)GetProcAddress(dll, "H5open");
H5close = (H5open_t)GetProcAddress(dll, "H5close");
H5open();
H5close();
FreeLibrary(dll);
};
return 0;
}
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5