Don, how are you? Adding an assembly reference should be all that's needed.
Note that there are different .NET assemblies for 32- and 64-bit.
(Under the covers, in the unmanaged API, there's a lot of size_t-ing
going on.) Also, make sure that you're using the assemblies with the
correct .NET version (2, 3.5, 4?). If all fails, you can try to build
it from source and/or give us a few additional clues.
(You got the assemblies + binaries from http://hdf5.net/ , right?)

Best, G.


> -----Original Message-----
> From: [email protected] [mailto:hdf-forum-
> [email protected]] On Behalf Of Donald Brandon
> Sent: Wednesday, August 24, 2011 11:00 PM
> To: [email protected]
> Subject: [Hdf-forum] HDF5DotNet assembly
> 
> Hello everyone:
> 
> My first post promises to be lame but -
> 
> I am wanting to use the DotNet version of HDF5.  if HDF5DotNet.dll is an
> assembly, what is the best way to register it to use in a C# project?
> Simply referencing it in a project will not work, resulting in a
> BadImageFormat Exception.
> 
> Thanks!
> 
> 
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
> http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org



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

Reply via email to