Click here to Skip to main content
11,431,483 members (65,532 online)
Click here to Skip to main content
Add your own
alternative version

A File Checksum Shell Menu Extension DLL

, 23 May 2008 LGPL3
Create a File Checksum Shell Menu Extension using ATL and Crypto++
ctxcreatehash.zip
CtxCreateHash
CtxCreateHash
CreateHash.rgs
CtxCreateHash.def
CtxCreateHash.rgs
CtxCreateHash.vcproj.8.00.old
CtxCreateHashps.def
CtxCreateHashPS.vcproj.8.00.old
CtxCreateHash.sln.old
ctxcreatehash2005.zip
CreateHash.rgs
CtxCreateHash.aps
CtxCreateHash.def
CtxCreateHash.rgs
CtxCreateHashps.def
ctxcreatehashdll.zip
CtxCreateHash.dll
ctxverifyhash.zip
CtxVerifyHash
CtxVerifyHash
CtxVerifyHash.def
CtxVerifyHash.rgs
CtxVerifyHash.vcproj.8.00.old
CtxVerifyHashps.def
CtxVerifyHashPS.vcproj.8.00.old
VerifyHash.rgs
CtxVerifyHash.sln.old
ctxverifyhash2005.zip
CtxVerifyHash.aps
CtxVerifyHash.def
CtxVerifyHash.rgs
CtxVerifyHashps.def
VerifyHash.rgs
ctxverifyhashdll.zip
CtxVerifyHash.dll
sample1.zip
Sample 1
Test 1.dsp
Test 1.dsw
sample2.zip
Sample 2
Test 2.dsp
Test 2.dsw
sample3.zip
Sample 3
Test 3.dsp
Test 3.dsw
sample4.zip
Sample 4
Test 4.dsp
Test 4.dsw
sample5.zip
Sample 5
CtxTest.def
CtxTest.dsp
CtxTest.dsw
CtxTestps.def
CtxTestps.mk
MenuItem.rgs
#ifndef __CRYPTLIB_LIBRARY_INCLUDE__
#define __CRYPTLIB_LIBRARY_INCLUDE__

//
// This file includes the proper Crypto++ library based on
// linking against the C Runtime library. Note that
// Wei's distribution (http://www.cryptopp.com/) only
// includes a statically linked version (/MT and /MTd)
// of cryptlib. Fetch the modifed project and solution file.
// Then, unpack over top of Crypto++. See 'Alternate Configuration'
// http://www.codeproject.com/KB/tips/CryptoPPIntegration.aspx
//
// If IntelliSense or the IDE's colorizer get out of
// syncor you experiences lots of LNK2001 and LNK2019
// errors, Clean the project then perform a Build. This
// is similar to confusing the IDE when switching project
// settings (resulting in precompiled header confusion).
//
// Finally, this means nothing to a Crypto++ Dll project.
// This is for linking to the cryptlib static library only.
//
// For preprocessor define _DLL, see the following.
// * http://msdn.microsoft.com/en-us/library/b0084kay(VS.80).aspx
// * http://support.microsoft.com/kb/65472
//

// Crypto++ Library
#if defined(_DLL) && defined(_DEBUG)
#  pragma comment ( lib, "cryptlibd.dynamic.lib" )
#  pragma message("Crypto++ Library Configuration: Debug build using dynamic CRT linking.")

#elif defined(_DLL) && !defined(_DEBUG)
#  pragma comment ( lib, "cryptlib.dynamic.lib" )
#  pragma message("Crypto++ Library Configuration: Release build using dynamic CRT linking.")

#elif !defined(_DLL) && defined(_DEBUG)
#  pragma comment ( lib, "cryptlibd.static.lib" )
#  pragma message("Crypto++ Library Configuration: Debug build using static CRT linking.")

#elif !defined(_DLL) && !defined(_DEBUG)
#  pragma comment ( lib, "cryptlib.static.lib" )
#  pragma message("Crypto++ Library Configuration: Release build using static CRT linking.")

#else
#  error "Crypto++ library include panic..."

#endif

#endif // __CRYPTLIB_LIBRARY_INCLUDE__

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)

Share

About the Author

Jeffrey Walton
Systems / Hardware Administrator
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150428.2 | Last Updated 24 May 2008
Article Copyright 2006 by Jeffrey Walton
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid