Index: src/chext/GuidFormatter.cpp =================================================================== diff -u -N --- src/chext/GuidFormatter.cpp (revision b79aca0d66b1084f230022efe39cc89307482e6d) +++ src/chext/GuidFormatter.cpp (revision 0) @@ -1,33 +0,0 @@ -// ============================================================================ -// Copyright (C) 2001-2015 by Jozef Starosczyk -// ixen@copyhandler.com -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU Library General Public License -// (version 2) as published by the Free Software Foundation; -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this program; if not, write to the -// Free Software Foundation, Inc., -// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// ============================================================================ -#include "stdafx.h" -#include "GuidFormatter.h" - -std::wstring GuidFormatter::FormatGuid(const GUID& rGuid) -{ - const size_t stBufferSize = 64; - wchar_t szData[ stBufferSize ]; - - _snwprintf_s(szData, stBufferSize, L"{%08lX-%04hX-%04hX-%02hhX%02hhX-%02hhX%02hhX%02hhX%02hhX%02hhX%02hhX}", - rGuid.Data1, rGuid.Data2, rGuid.Data3, - rGuid.Data4[ 0 ], rGuid.Data4[ 1 ], rGuid.Data4[ 2 ], rGuid.Data4[ 3 ], - rGuid.Data4[ 4 ], rGuid.Data4[ 5 ], rGuid.Data4[ 6 ], rGuid.Data4[ 7 ]); - - return szData; -} Index: src/chext/GuidFormatter.h =================================================================== diff -u -N --- src/chext/GuidFormatter.h (revision d9527df01ee91b35d9a5fdccb80ded25a9c8265f) +++ src/chext/GuidFormatter.h (revision 0) @@ -1,28 +0,0 @@ -// ============================================================================ -// Copyright (C) 2001-2015 by Jozef Starosczyk -// ixen@copyhandler.com -// -// This program is free software; you can redistribute it and/or modify -// it under the terms of the GNU Library General Public License -// (version 2) as published by the Free Software Foundation; -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this program; if not, write to the -// Free Software Foundation, Inc., -// 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// ============================================================================ -#ifndef __GUIDFORMATTER_H__ -#define __GUIDFORMATTER_H__ - -class GuidFormatter -{ -public: - static std::wstring FormatGuid(const GUID& rGuid); -}; - -#endif Index: src/chext/chext.vc140.vcxproj =================================================================== diff -u -N -ra2394ceaf63cd30e15d8bf7201aa38b86c5a030b -rbcb96b1fe43d26667bd0b873c16dbf73b6fda54c --- src/chext/chext.vc140.vcxproj (.../chext.vc140.vcxproj) (revision a2394ceaf63cd30e15d8bf7201aa38b86c5a030b) +++ src/chext/chext.vc140.vcxproj (.../chext.vc140.vcxproj) (revision bcb96b1fe43d26667bd0b873c16dbf73b6fda54c) @@ -576,7 +576,6 @@ - @@ -610,7 +609,6 @@ - Index: src/chext/chext.vc140.vcxproj.filters =================================================================== diff -u -N -r6609ba39811176f4803f0556db3da30e9e457b9d -rbcb96b1fe43d26667bd0b873c16dbf73b6fda54c --- src/chext/chext.vc140.vcxproj.filters (.../chext.vc140.vcxproj.filters) (revision 6609ba39811176f4803f0556db3da30e9e457b9d) +++ src/chext/chext.vc140.vcxproj.filters (.../chext.vc140.vcxproj.filters) (revision bcb96b1fe43d26667bd0b873c16dbf73b6fda54c) @@ -65,9 +65,6 @@ Tests - - Source Files\Tools - Source Files\Tools @@ -133,9 +130,6 @@ Resource Files - - Source Files\Tools - Source Files\Tools