Using:
IS Developer 8
IS MSI Project
I have a rather strange problem. Our installer calls UseDLL to load a utility DLL near the beginning of OnFirstUIBefore. I call ChangeDirectory(SUPPORTDIR) before UseDLL, since the DLL and its dependencies are in the SUPPORTDIR. 90% of the time, this is working perfectly. The DLL will load and I can call its functions. However, on some systems the load fails. I get error code 80040702. I can't find any info on that code anywhere. There is no easily discernable difference between the systems on which this works and those on which it does not. If I use a dependency walker and view the dependencies for the DLL in the SUPPORTDIR when our installer pauses at the welcome screen, I see that all of its dependencies are present. Of course, this doesn't really account for any dynamically loaded dependencies and I'm wondering if that's where my problem is. Does anyone have any tips for debugging something like this?
Thanks,
Paul
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Error Loading DLL
Started by
paul6997
, Apr 26 2006 00:00
1 reply to this topic