Ignore:
Timestamp:
Jan 30, 2011, 6:29:32 PM (14 years ago)
Author:
イグトランス (egtra)
Message:

代替のリソース読み込み関数の名称を変更(WinAPIとかぶらないものへ)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/egtra/ab5.0/abdev/ab-test/ab-test.cpp

    r789 r793  
    117117
    118118    auto hBasicProgramIconL = (HICON)::LoadImage(hmodRes.get(), MAKEINTRESOURCE(IDI_BASICPROGRAM), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR);
    119     auto hBasicProgramIconR = abres::LoadIcon(hmodRes.get(), IDI_BASICPROGRAM, 16, 16, LR_DEFAULTCOLOR);
     119    auto hBasicProgramIconR = abres::LoadIconAlt(hmodRes.get(), IDI_BASICPROGRAM, 16, 16, LR_DEFAULTCOLOR);
    120120
    121121    BOOST_CHECK(hBasicProgramIconL != nullptr);
     
    125125
    126126    auto hcurL = ::LoadCursor(hmodRes.get(), MAKEINTRESOURCE(IDC_CURSOR_PEN));
    127     auto hcurR = abres::LoadCursor(hmodRes.get(), IDC_CURSOR_PEN);
     127    auto hcurR = abres::LoadCursorAlt(hmodRes.get(), IDC_CURSOR_PEN);
    128128
    129129    BOOST_CHECK(hcurL != nullptr);
     
    140140    ::LoadStringW(hmodRes.get(), IDS_DEV_GROUP, strL, ARRAYSIZE(strL));
    141141
    142     boost::optional<std::wstring> strR = abres::LoadString(hmodRes.get(), IDS_DEV_GROUP);
     142    boost::optional<std::wstring> strR = abres::LoadStringAlt(hmodRes.get(), IDS_DEV_GROUP);
    143143
    144144    BOOST_CHECK(!!strR);
Note: See TracChangeset for help on using the changeset viewer.