DumontEXE 0.0.1
win32_unicode.h
00001 /* 
00002    win32_Unicode.h
00003 
00004    Copyright (C) 2002-2004 René Nyffenegger
00005 
00006    This source code is provided 'as-is', without any express or implied
00007    warranty. In no event will the author be held liable for any damages
00008    arising from the use of this software.
00009 
00010    Permission is granted to anyone to use this software for any purpose,
00011    including commercial applications, and to alter it and redistribute it
00012    freely, subject to the following restrictions:
00013 
00014    1. The origin of this source code must not be misrepresented; you must not
00015       claim that you wrote the original source code. If you use this source code
00016       in a product, an acknowledgment in the product documentation would be
00017       appreciated but is not required.
00018 
00019    2. Altered source versions must be plainly marked as such, and must not be
00020       misrepresented as being the original source code.
00021 
00022    3. This notice may not be removed or altered from any source distribution.
00023 
00024    René Nyffenegger rene.nyffenegger@adp-gmbh.ch
00025 */
00026 
00027 #ifndef WIN32_UNICODE_H_62cfda2f_2950_4d14_abdf_cb8f0b5bfdbd
00028 #define WIN32_UNICODE_H_62cfda2f_2950_4d14_abdf_cb8f0b5bfdbd
00029 
00030 #include <string>
00031 #include <windows.h>
00032 
00033 std::string  ws2s(std::wstring const& s);
00034 std::wstring s2ws(std::string const& s, unsigned int codepage=CP_ACP);
00035 
00036 
00037 #endif
00038 
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com