[hdf-forum] Basic question concerning the HDF5 .Net wrapper

Jean Gilbert logiciels at prominov.com
Sun Mar 8 14:46:25 EDT 2009


Hi Timothy

 

I had help for the two person in CC, but I had to make a pause on the
investigation for other priorities I have, unfortunately.

 

I should resume on this aspect (hopefully) with their help soon. If I found
what is required to be able to run the package I will certainly post it
here.

 

If you find it before me, please let me know. Good luck !

 

Thanks,

 

Jean

 

 

 

 

 

From: Timothy Ragan [mailto:tragan at MIT.EDU] 
Sent: March-07-09 8:52 PM
To: 'Jean Gilbert'
Subject: RE: [hdf-forum] Basic question concerning the HDF5 .Net wrapper

 

Hi Jean,

 

Did you ever get an answer to your question?  I had the same problem trying
to run a built with the HDF5 C# wrapper.

 

Many thanks,

Tim

 

 

From: Jean Gilbert [mailto:logiciels at prominov.com] 
Sent: Monday, February 23, 2009 3:00 PM
To: jhuddleston at hughes.net
Cc: hdf-forum at hdfgroup.org
Subject: RE: [hdf-forum] Basic question concerning the HDF5 .Net wrapper

 

Thank you John

 

That is very kind. I have started to investigate using the Dependency Walker
you suggest me on the
C:\HDF5\HDF5dotNet\tests\h5files\bin\Debug\h5files.exe. However the program
shows the same result on both computer. 

 

That is, the computer on which the csharp wrapper test batch file succeed
and the one on which is fails shows the same number of modules (126)
dependency and it shows that all the required modules are present on both
computers. (I'm not sure to fully understand that tool however as the
HDF5DOTNET.DLL does not appears in the list.) Maybe comparing the File
Version of each of the 126 DLLs would reveals some discrepancies, but that
is a long road from there I believe.

 

That is why I would hope that someone knows what is needed to be able to run
the C:\HDF5\HDF5dotNet\tests\hdf5csharptest.bat test batch file. Up to now
the requirements list I am building is:

 

-        Windows XP Service pack 3;

-        HDF5dotNet.zip (unzipped into the c:\HDF5 folder);

 

I kept thinking that installing the Visual Studio C# is not required to run
a program developed with the csharp wrapper, but I may be wrong. Also, I
have made some tests adding the following DLLs into the C:\Windows\System32
folder:

 

-        hdf5dll.dll, szlibdll.dll, szlibdll.lib and HDF5DotNet.dll.

 

Jean

PS I'm not sure if replying to an e-mail with the hdf-forum at hdfgroup.org in
CC is good practice. Sorry if it's not. I could eventually send only the
answer to my question, if I found it.

 

From: John Huddleston [mailto:jhuddleston at hughes.net] 
Sent: February-21-09 9:58 AM
To: 'Jean Gilbert'; hdf-forum at hdfgroup.org
Subject: RE: [hdf-forum] Basic question concerning the HDF5 .Net wrapper

 

Jean

 

You may have the HDF5DOTNET.DLL in your %PATH% but HDF5DOTNET.DLL depends
upon other DLLs.

 

You can use http://www.dependencywalker.com/ utility to check if all the
other DLLs are found.

 

I also use the Cygwin 'cygcheck' program from the BASH command line to
verify that all DLLs are found.

 

John Huddleston, PhD

 

  _____  

From: Jean Gilbert [mailto:logiciels at prominov.com] 
Sent: Friday, February 20, 2009 10:42 PM
To: hdf-forum at hdfgroup.org
Subject: [hdf-forum] Basic question concerning the HDF5 .Net wrapper

 

Hello,

 

Does anyone knows what are the settings or packages required to be able to
run the file "hdf5csharptest.bat" provided on the HDFGroup web site ?

 
(ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/Csharp-prototype/HDF5dotNet.z
ip)

 

It successfully run on a computer having Visual Studio 2005 installed (and
many other things), but not on another that doesn't. The error message we
get is pasted at the bottom of this email. 

 

We developed a C# application that use the C# wrappers and it has the same
behaviour. We would like to be able to run the program on a computer that
doesn't have Visual Studio installed.

 

So, simply knowing what is required to be able to run the package downloaded
from the HDFGroup on a freshly installed Windows XP would solve our problem.


 

Any help on this would be greatly appreciated !

 

Thanks,

Jean

P.S. We tried installing the "Microsoft Visual C++ 2005 Redistributable
Package", but it doesn't solved the problem.

 

================================

Testing C# API tests - limited

================================

cd h5files\bin\Debug

 

Unhandled Exception: System.IO.FileLoadException: Could not load file or
assembl

y 'HDF5DotNet, Version=1.0.2616.13243, Culture=neutral, PublicKeyToken=null'
or

one of its dependencies. This application has failed to start because the
applic

ation configuration is incorrect. Reinstalling the application may fix this
prob

lem. (Exception from HRESULT: 0x800736B1)

File name: 'HDF5DotNet, Version=1.0.2616.13243, Culture=neutral,
PublicKeyToken=

null' ---> System.Runtime.InteropServices.COMException (0x800736B1): This
applic

ation has failed to start because the application configuration is
incorrect. Re

installing the application may fix this problem. (Exception from HRESULT:
0x8007

36B1)

   at h5files.Program.Main(String[] args)

 

 

cd h5groups\bin\Debug

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.2/1963 - Release Date: 02/20/09
19:22:00

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/attachments/20090308/ab918a33/attachment.html>


More information about the Hdf-forum mailing list