It was user error. BTW, I’ve found that DependencyWalker doesn’t work well for recent .NET framework apps. So I switched to ProcMon, which has a longer learning curve, but works quite well for dynamic dll load tracing.
- Andy From: Hdf-forum [mailto:[email protected]] On Behalf Of Haymo Kutschbach Sent: Wednesday, February 13, 2013 1:53 PM To: HDF Users Discussion List Subject: Re: [Hdf-forum] adding HD5 dlls to an application install 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" <[email protected]> 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 Does anyone have any idea what is going on here? - Andy -- ---------------------- ILNumerics Team
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
