Click here to Skip to main content
13,772,614 members
Click here to Skip to main content

Stats

207.5K views
5.4K downloads
114 bookmarked
Posted 15 Dec 2006
Licenced LGPL3

A File Checksum Shell Menu Extension DLL

, 23 May 2008
Create a File Checksum Shell Menu Extension using ATL and Crypto++
CtxCreateHash
CtxCreateHash
CreateHash.rgs
CtxCreateHash.def
CtxCreateHash.rgs
CtxCreateHash.vcproj
CtxCreateHash.vcproj.8.00.old
CtxCreateHashps.def
CtxCreateHashPS.vcproj
CtxCreateHashPS.vcproj.8.00.old
CtxCreateHash.sln.old
CreateHash.rgs
CtxCreateHash.aps
CtxCreateHash.def
CtxCreateHash.rgs
CtxCreateHash.vcproj
CtxCreateHashps.def
CtxCreateHashPS.vcproj
CtxCreateHash.dll
CtxVerifyHash
CtxVerifyHash
CtxVerifyHash.def
CtxVerifyHash.rgs
CtxVerifyHash.vcproj
CtxVerifyHash.vcproj.8.00.old
CtxVerifyHashps.def
CtxVerifyHashPS.vcproj
CtxVerifyHashPS.vcproj.8.00.old
VerifyHash.rgs
CtxVerifyHash.sln.old
CtxVerifyHash.aps
CtxVerifyHash.def
CtxVerifyHash.rgs
CtxVerifyHash.vcproj
CtxVerifyHashps.def
CtxVerifyHashPS.vcproj
VerifyHash.rgs
CtxVerifyHash.dll
Sample 1
Test 1.dsp
Test 1.dsw
Sample 2
Test 2.dsp
Test 2.dsw
Sample 3
Test 3.dsp
Test 3.dsw
Sample 4
Test 4.dsp
Test 4.dsw
Test 4.vcproj
Sample 5
CtxTest.def
CtxTest.dsp
CtxTest.dsw
CtxTestps.def
MenuItem.rgs
#ifndef __STDSTRING_HELPER_H__
#define __STDSTRING_HELPER_H__

#pragma warning ( push, 1 )
#include <iostream>     // cin, cout, cerr
#include <sstream>      // new and improved
#include <string>       // string
#include <locale>       // narrow to wide, wide to narrow
#include <cctype>       // toupper, tolower
#include <algorithm>    // transform
#pragma warning( pop )

#ifdef UNICODE
#  define _tcout wcout
#  define _tcerr wcerr
#  define _tcin  wcin
#  define _tclog wclog
#else
#  define _tcout cout
#  define _tcerr cerr
#  define _tcin  cin
#  define _tclog clog
#endif

#ifdef UNICODE
#  define _tstringbuf     wstringbuf
#  define _tistringstream wistringstream
#  define _tostringstream wostringstream
#else
#  define _tstringbuf     stringbuf
#  define _tistringstream istringstream
#  define _tostringstream ostringstream
#endif

#ifdef UNICODE
#  define _tstring wstring
#else
#  define _tstring string
#endif

std::wstring StringWiden( const std::string& narrow );
std::string  StringNarrow( const std::wstring& wide );

std::wstring StringUpper( const std::wstring& wide );
std::string  StringUpper( const std::string& wide );

std::wstring StringLower( const std::wstring& wide );
std::string  StringLower( const std::string& wide );

#endif // __STDSTRING_HELPER_H__

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

You may also be interested in...

Permalink | Advertise | Privacy | Cookies | Terms of Use | Mobile
Web06 | 2.8.181119.1 | Last Updated 24 May 2008
Article Copyright 2006 by Jeffrey Walton
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid