Re: distributing an application
From: jsun (jsun_at_nospam.net)
Date: 06/08/04
- Previous message: Sergey Michalev: "SignCode.exe gives an error"
- In reply to: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Next in thread: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Reply: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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?
J.W.
<olduncleamos@yahoo.com> wrote in message
news:83d5f6bf.0406070618.22773fdf@posting.google.com...
> "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!!!
- Previous message: Sergey Michalev: "SignCode.exe gives an error"
- In reply to: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Next in thread: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Reply: olduncleamos_at_yahoo.com: "Re: distributing an application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|