Re: distributing an application

olduncleamos_at_yahoo.com
Date: 06/07/04


Date: 7 Jun 2004 07:18:29 -0700


"jsun" <jsun@nospam.net> wrote in message news:<O$r7salSEHA.2480@TK2MSFTNGP10.phx.gbl>...
> Run the Dependency check to check what you are missing.
>
> This kind of problem happens most probably that you are linking with a newer
> dll in the developing machine than the one in the deployment machine.

Thank you for your suggestion. I have tried using the dependency
walker app to check my dll and it reported that I need ADVAPI32.DLL,
GDI32.DLL, Kernel32.dll, OLE32.DLL, OLEAUT32.dll and User32.dll. I
have compared the version of these DLLs on my machine against the
deployment target and cannot find any difference.

I will appreciate any thoughts you might have. Thanks again.

>
> HTH
>
> J.W.
>
> <olduncleamos@yahoo.com> wrote in message
> news:83d5f6bf.0406040658.3ed9ad3@posting.google.com...
> > Hello all.
> >
> > I used ATL in VC++ 6 to come up with a COM DLL that encrypt strings
> > using the CryptoAPI. Everything worked fine in my development machine.
> > But when I tried to run the dll on production machines (Win98 IE5.0
> > and Win2K), the DLL bombed when trying to run CryptAcquireContext. I
> > have already make sure the production machines got advapi32.dll in
> > their system directory. Am I missing some files when I install the
> > DLL? I simply copy the DLL over and use regsvr32 to register it. I
> > know I haven't updated the SDK since I install VC6 but I am not sure
> > if that was necessary.
> >
> > I realized I am very new and inexperienced with this (my background
> > are mainly in VB) so your help and patience is greatly appreciated.
> > Thanks in advance!!!



Relevant Pages

  • Re: Unable to load DLL - The file is there
    ... | What DLL should I be missing? ... I just found an header that allows the DLL to work in Windows XP ... | Willy Denoyette wrote: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unable to load DLL - The file is there
    ... Tried with an wireless USB adapter and a wireless ... Iniside the DLL, even before it begins mainof WrapiTest.cpp, it ... | What DLL should I be missing? ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Loadgen - error registering MSMQTransmitter.dll
    ... Some missing dependencies, most likely this DLL depends on some other DLLs ... the Dependency Walker tool and see which DLLs you are missing. ... Loadgen - error registering MSMQTransmitter.dll ...
    (microsoft.public.biztalk.general)
  • Re: AfxLoadLibrary fails, GetLastError returns 14001
    ... I GetLastError() returns 14001 when I try to use LoadLibrary, ... The .dll file is in the same directory as the executable, ... a missing dependency was my first thought. ...
    (microsoft.public.vc.mfc)
  • Re: distributing an application
    ... > Run the Dependency check to check what you are missing. ... > dll in the developing machine than the one in the deployment machine. ...
    (microsoft.public.vc.atl)

Loading