Re: distributing an application
From: jsun (jsun_at_nospam.net)
Date: Tue, 8 Jun 2004 16:41:18 -0400
Can you explain
" the DLL bombed when trying to run CryptAcquireContext", and did you run
the dependency walker on the deployment target?
<email@example.com> wrote in message
> "jsun" <firstname.lastname@example.org> wrote in message
>> Run the Dependency check to check what you are missing.
>> This kind of problem happens most probably that you are linking with a
>> 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.
>> <email@example.com> wrote in message
>> > 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!!!