Andy, 

there are probably some dependencies missing for the
unmanaged dlls. Try loading the unmanaged dlls from the output path in
dependency walker and see, if it is able to load them successfully? 


http://www.dependencywalker.com 

I hope this helps?
Haymo 

On Wed,
13 Feb 2013 13:29:14 -0800, "Andy Voelkel"  wrote:  

Hi, 

I'm trying
to build an installer for my app which uses the HD5 DotNet wrapper and
the underlying unmanaged HD5 dlls. I don't want the users to have to
install HD5, I just want to install the HD5 dlls in the right place as
part of my application install. 

I'm using Procmon to track dll
loading. Everything works fine with the dlls are "installed" and the
folder is on the path. But when I put the unmanaged dlls in the same
folder as the application executable and rename the folder on the path
(to hide it), I get an exception when the .NET HD5 wrapper tries to load
the unmanaged HD5 dlls. I'm having a little trouble understanding this,
because I thought the dll search path includes the folder where
application executable is:


http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
[1] 

Does anyone have any idea what is going on here? 

- Andy   

--

---------------------- 
 ILNumerics Team
 

Links:
------
[1]
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to