This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Windows8.1でないと動かないらしいコード。 | |
| // 使つてゐるインターフェース自體はWin7でも使へる筈だからビルドは通ると思ふ。 | |
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #define OEMRESOURCE | |
| #define BOOST_ERROR_CODE_HEADER_ONLY | |
| #define BOOST_SYSTEM_NO_LIB | |
| #include <stdexcept> | |
| #include <d2d1_1.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d3d11.lib") | |
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "dwrite.lib") | |
| #pragma comment(lib, "xaudio2.lib") | |
| #pragma comment(lib, "WindowsCodecs.lib") | |
| #pragma comment(lib, "libogg_static.lib") | |
| #pragma comment(lib, "libvorbis_static.lib") | |
| #pragma comment(lib, "libvorbisfile_static.lib") | |
| #define OEMRESOURCE | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d3d11.lib") | |
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "dwrite.lib") | |
| #pragma comment(lib, "xaudio2.lib") | |
| #pragma comment(lib, "WindowsCodecs.lib") | |
| #pragma comment(lib, "libogg_static.lib") | |
| #pragma comment(lib, "libvorbis_static.lib") | |
| #pragma comment(lib, "libvorbisfile_static.lib") | |
| #define OEMRESOURCE | |
| #include <cstdint> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #pragma comment(lib, "WindowsCodecs.lib") | |
| #define OEMRESOURCE | |
| #include <memory> | |
| #include <d2d1_1.h> | |
| #include <d3d11_1.h> | |
| #include <wincodec.h> | |
| #include <wincodecsdk.h> | |
| #include <Windows.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #pragma comment(lib, "WindowsCodecs.lib") | |
| #define OEMRESOURCE | |
| #include <memory> | |
| #include <d2d1_1.h> | |
| #include <d3d11_1.h> | |
| #include <wincodec.h> | |
| #include <wincodecsdk.h> | |
| #include <Windows.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #define OEMRESOURCE | |
| #include <memory> | |
| #include <d2d1_1.h> | |
| #include <d3d11_1.h> | |
| #include <Windows.h> | |
| #include <wrl.h> | |
| #include <boost/noncopyable.hpp> | |
| #include <boost/system/system_error.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #define OEMRESOURCE | |
| #include <d2d1_1.h> | |
| #include <d3d11_1.h> | |
| #include <Windows.h> | |
| #include <wrl.h> | |
| #include <boost/noncopyable.hpp> | |
| #include <boost/system/system_error.hpp> | |
| #include <boost/utility/string_ref.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma comment(lib, "d2d1.lib") | |
| #pragma comment(lib, "d3d11.lib") | |
| #define OEMRESOURCE | |
| #include <d2d1_1.h> | |
| #include <d3d11_1.h> | |
| #include <Windows.h> | |
| #include <wrl.h> | |
| #include <boost/noncopyable.hpp> | |
| #include <boost/system/system_error.hpp> | |
| #include <boost/utility/string_ref.hpp> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define OEMRESOURCE | |
| #include <Windows.h> | |
| #include <boost/noncopyable.hpp> | |
| #include <boost/system/system_error.hpp> | |
| #include <boost/utility/string_ref.hpp> | |
| #define THROW_WIN32_ERROR(msg)\ | |
| BOOST_THROW_EXCEPTION(boost::system::system_error(GetLastError(), boost::system::get_system_category(), msg)) | |
| LRESULT CALLBACK WindowProcedure(HWND wnd, UINT msg, WPARAM wp, LPARAM lp) { |