|
From: Saju on 24 Apr 2008 10:18 Hi, Is it possible for a setup dll to depend on another dll that is dynamically linked to it ? My setup dll doesn't load and the cab installation fails. I have packed all the dll with it, but the installation still fails. I am accessing some C++ utility classes in the setup dll routines. Thanks for your suggestions
From: r_z_aret on 24 Apr 2008 14:46 I disabled the post to microsoft.public.pocketpc because that newsgroup is really not for developers. More below (in line). On Thu, 24 Apr 2008 16:18:52 +0200, "Saju" <SajuSathyan(a)hotmail.com> wrote: >Hi, > Is it possible for a setup dll to depend on another dll that is >dynamically linked to it ? My setup dll doesn't load and the cab >installation fails. I have packed all the dll with it, but the installation >still fails. I am accessing some C++ utility classes in the setup dll >routines. If you're using LoadLibrary to load a DLL, you can get at least some info by checking the function's return and calling GetLastError when appropriate. But a common cause for problems is that LoadLibrary for Windows CE (and all platforms, like Pocket PC, built on it) looks in far fewer paths than does the version for "big" Windows. If I recall correctly, the list is root directory of memory card windows root directory of main memory directory for executable that started process I'm quite sure about the first, although it sure seems odd to me. I'm much more certain about the last. I'm not so sure about the order of the middle two. I'm also not at all sure where a packed DLL might wind up. > >Thanks for your suggestions ----------------------------------------- To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message). Robert E. Zaret, eMVP PenFact, Inc. 20 Park Plaza, Suite 478 Boston, MA 02116 www.penfact.com
From: Saju on 24 Apr 2008 16:43 Thanks for the response, I have sorted it out. regards > On Thu, 24 Apr 2008 16:18:52 +0200, "Saju" <SajuSathyan(a)hotmail.com> > wrote: > >>Hi, >> Is it possible for a setup dll to depend on another dll that is >>dynamically linked to it ? My setup dll doesn't load and the cab >>installation fails. I have packed all the dll with it, but the >>installation >>still fails. I am accessing some C++ utility classes in the setup dll >>routines. > > If you're using LoadLibrary to load a DLL, you can get at least some > info by checking the function's return and calling GetLastError when > appropriate. But a common cause for problems is that LoadLibrary for > Windows CE (and all platforms, like Pocket PC, built on it) looks in > far fewer paths than does the version for "big" Windows. If I recall > correctly, the list is > root directory of memory card > windows > root directory of main memory > directory for executable that started process > I'm quite sure about the first, although it sure seems odd to me. I'm > much more certain about the last. I'm not so sure about the order of > the middle two. I'm also not at all sure where a packed DLL might wind > up. > > >> >>Thanks for your suggestions
|
Pages: 1 Prev: Dev Tools for Visual Studio 2002 Next: How do I determine the working set of a CE application? |