[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-cryptoapi
Subject:    Re: CryptoAPI in ATL....
From:       Soumik Sarkar <Soumik_Sarkar () PHOENIX ! COM>
Date:       2002-04-25 18:18:24
[Download RAW message or body]


Just guessing. Did you set any structure member alignment in the debug mode
and not in the release mode?
Also, make sure you initialize all the variables. The debug build does this
for you.

-----Original Message-----
From: Ravi Battula [mailto:Ravi.Battula@IFLEXSOLUTIONS.COM]
Sent: Thursday, April 25, 2002 6:32 AM
To: CryptoAPI@DISCUSS.MICROSOFT.COM
Subject: Re: CryptoAPI in ATL....


Tried both of em.....no success.

One more thing which i found out now is. The Crypto functions inside
"Advapi32.lib" works fine....for eg
CryptacquireContext,CryptCreateHash etc etc.....
but the ones in crypt32.lib doesn't work.......


-----Original Message-----
From: Dokoupil Petr, Ing. [mailto:Petr.Dokoupil@PVT.CZ]
Sent: Thursday, April 25, 2002 6:31 PM
To: CryptoAPI@DISCUSS.MICROSOFT.COM
Subject: Re: CryptoAPI in ATL....


I think you should try Release MinDependency or Unicoce Release
MinDependency.

HTH Petr

-----Original Message-----
From: Ravi Battula [mailto:Ravi.Battula@IFLEXSOLUTIONS.COM]
Sent: Thursday, April 25, 2002 2:56 PM
To: CryptoAPI@DISCUSS.MICROSOFT.COM
Subject: CryptoAPI in ATL....


Hi All,
I am facing a weird behaviour.
I have developed a full fledged "Crypto" COM componet using ATL 3.0.I have
tested it throughly in "Debug"
mode.
Now when i build the same component in "Release Unicode Minimum Size" or
"Release Minimum Size"
the component is failing.

It fails to verify digest - the function "CryptVerifyMessageHash()"fails.
similarly lot of other cryptoAPI functions are
not working as they should.

Can someone explain me this behaviour. Remember it works perfectly in
"Debug" build.

Regards
Ravi.
----------------------------------------------------------------------------

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM
----------------------------------------------------------------------------

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:CryptoAPI-signoff-request@DISCUSS.MICROSOFT.COM

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic