Index: branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp
===================================================================
--- branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp	(revision 795)
+++ branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.cpp	(revision 797)
@@ -35,5 +35,18 @@
 }
 
-void* GetResource(HINSTANCE hinst, USHORT id, LPCTSTR type)
+HICON LoadIconCursorImpl(HINSTANCE hinst, USHORT id, int cxDesired, int cyDesired, UINT load, bool isIcon)
+{
+	auto pResource = LoadResourceAlt(hinst, id, isIcon ? RT_GROUP_ICON : RT_GROUP_CURSOR);
+
+	auto idIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), isIcon, cxDesired, cyDesired, load);
+	auto icon = LoadResourceAltWithSize(hinst, numeric_cast<USHORT>(idIcon), isIcon ? RT_ICON : RT_CURSOR);
+
+	return CreateIconFromResourceEx(reinterpret_cast<PBYTE>(icon.first),
+		icon.second, isIcon, 0x00030000, cxDesired, cyDesired, load);
+}
+
+} // unnamed namespace
+
+void* LoadResourceAlt(HINSTANCE hinst, USHORT id, LPCTSTR type)
 {
 	if (auto hrsrc = ::FindResource(hinst, MAKEINTRESOURCE(id), type))
@@ -47,5 +60,5 @@
 }
 
-std::pair<void*, DWORD> GetResourceWithSize(HINSTANCE hinst, USHORT id, LPCTSTR type)
+std::pair<void*, DWORD> LoadResourceAltWithSize(HINSTANCE hinst, USHORT id, LPCTSTR type)
 {
 	typedef std::pair<void*, DWORD> result_type;
@@ -64,17 +77,4 @@
 	return result_type(nullptr, 0);
 }
-
-HICON LoadIconCursorImpl(HINSTANCE hinst, USHORT id, int cxDesired, int cyDesired, UINT load, bool isIcon)
-{
-	auto pResource = GetResource(hinst, id, isIcon ? RT_GROUP_ICON : RT_GROUP_CURSOR);
-
-	auto idIcon = LookupIconIdFromDirectoryEx(reinterpret_cast<PBYTE>(pResource), isIcon, cxDesired, cyDesired, load);
-	auto icon = GetResourceWithSize(hinst, numeric_cast<USHORT>(idIcon), isIcon ? RT_ICON : RT_CURSOR);
-
-	return CreateIconFromResourceEx(reinterpret_cast<PBYTE>(icon.first),
-		icon.second, isIcon, 0x00030000, cxDesired, cyDesired, load);
-}
-
-} // unnamed namespace
 
 HICON LoadIconAlt(HINSTANCE hinst, USHORT id, int cxDesired, int cyDesired, UINT load)
@@ -152,5 +152,5 @@
 	using namespace boost::adaptors;
 
-	auto accel = GetResourceWithSize(hinst, id, RT_ACCELERATOR);
+	auto accel = LoadResourceAltWithSize(hinst, id, RT_ACCELERATOR);
 	if (accel.first == nullptr)
 	{
@@ -173,10 +173,10 @@
 HMENU LoadMenuAlt(HINSTANCE hinst, USHORT id)
 {
-	return LoadMenuIndirect(GetResource(hinst, id, RT_MENU));
+	return LoadMenuIndirect(LoadResourceAlt(hinst, id, RT_MENU));
 }
 
 INT_PTR DialogBoxAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam)
 {
-	auto dlgTemplate = static_cast<DLGTEMPLATE*>(GetResource(hinst, id, RT_DIALOG));
+	auto dlgTemplate = static_cast<DLGTEMPLATE*>(LoadResourceAlt(hinst, id, RT_DIALOG));
 	return ::DialogBoxIndirectParam(hinst, dlgTemplate, hwndParent, dialogFunc, initParam);
 }
@@ -184,5 +184,5 @@
 HWND CreateDialogAlt(HINSTANCE hinst, USHORT id, HWND hwndParent, DLGPROC dialogFunc, LPARAM initParam)
 {
-	auto dlgTemplate = static_cast<DLGTEMPLATE*>(GetResource(hinst, id, RT_DIALOG));
+	auto dlgTemplate = static_cast<DLGTEMPLATE*>(LoadResourceAlt(hinst, id, RT_DIALOG));
 	return ::CreateDialogIndirectParam(hinst, dlgTemplate, hwndParent, dialogFunc, initParam);
 }
@@ -191,5 +191,5 @@
 {
 	WTL::CDC dc = ::GetDC(nullptr);
-	auto pbi = static_cast<BITMAPINFO const*>(GetResource(hinst, id, RT_BITMAP));
+	auto pbi = static_cast<BITMAPINFO const*>(LoadResourceAlt(hinst, id, RT_BITMAP));
 	return CreateDIBitmap(dc, &pbi->bmiHeader, CBM_INIT, reinterpret_cast<BYTE const*>(pbi) + pbi->bmiHeader.biSize, pbi, DIB_RGB_COLORS);
 }
Index: branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h
===================================================================
--- branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h	(revision 795)
+++ branches/egtra/ab5.0/abdev/abdev-impl/Resource/Load.h	(revision 797)
@@ -1,4 +1,5 @@
 #pragma once
 
+#include <utility>
 #include <memory>
 #include <windows.h>
@@ -6,4 +7,7 @@
 
 namespace ActiveBasic { namespace Resource {
+
+void* LoadResourceAlt(HINSTANCE hinst, USHORT id, LPCTSTR type);
+std::pair<void*, DWORD> LoadResourceAltWithSize(HINSTANCE hinst, USHORT id, LPCTSTR type);
 
 HICON LoadIconAlt(HINSTANCE hinst, USHORT id, int cxDesired, int cyDesired, UINT load = 0);
