{"id":706,"date":"2014-12-13T23:59:23","date_gmt":"2014-12-13T14:59:23","guid":{"rendered":"http:\/\/dev.activebasic.com\/egtra\/?p=706"},"modified":"2015-05-05T22:41:23","modified_gmt":"2015-05-05T13:41:23","slug":"sta%e3%81%ae%e3%83%a1%e3%82%bd%e3%83%83%e3%83%89%e5%91%bc%e3%81%b3%e5%87%ba%e3%81%97%e3%82%92%e8%a6%8b%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/","title":{"rendered":"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b"},"content":{"rendered":"<p>\u672c\u8a18\u4e8b\u306f\u3001<a href=\"https:\/\/qiita.com\/advent-calendar\/2014\/com\">COM Advent Calendar 2014 &#8211; Qiita<\/a>\u306e13\u65e5\u76ee\u306e\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n<hr \/>\n<section>\n<p>STA\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30eb\u30fc\u30d7\u306e\u5143\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4ed6\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u304b\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306f\u30a6\u30a3\u30f3\u30c9\u30a6\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u53d7\u4fe1\u3057\u307e\u3059\u3002<\/li>\n<li>\u4ed6\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u884c\u3063\u3066\u3044\u308b\u9593\u3001\u30e2\u30fc\u30c0\u30eb\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u30eb\u30fc\u30d7\u304c\u56de\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u304c\u7d44\u307f\u5408\u308f\u3055\u308b\u3068\u30011\u30b9\u30ec\u30c3\u30c9\u306e\u307f\u3067\u3042\u308a\u306a\u304c\u3089\u3001\u3042\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u4e2d\u306b\u3001\u4ed6\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u53d7\u3051\u4ed8\u3051\u308b\u3053\u3068\uff08\u518d\u5165\uff09\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u3053\u3068\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>STA\u304b\u3089STA\u3078\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057<\/h3>\n<p>\u3053\u3093\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002\u9069\u5f53\u306aISequentialStream\u5b9f\u88c5\u30af\u30e9\u30b9Hoge\u3092\u4f5c\u308a\u30011\u3064\u76ee\u306eSTA\u4e0a\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u30022\u3064\u76ee\u306eSTA\u30b9\u30ec\u30c3\u30c9\u304b\u3089\u305d\u306e\u4e2d\u306e\u30e1\u30bd\u30c3\u30c9Read\u3092\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre lang=\"cpp\">\r\n#define _ATL_NO_AUTOMATIC_NAMESPACE\r\n\r\n#include <iostream>\r\n#include <thread>\r\n#include <tchar.h>\r\n#include <windows.h>\r\n#include <atlbase.h>\r\n#include <atlcom.h>\r\n#include <atlutil.h>\r\n\r\nclass Module : public ATL::CAtlExeModuleT<Module> {};\r\nModule module;\r\n\r\nATL::CComGITPtr<ISequentialStream> g1;\r\n\r\nclass ATL_NO_VTABLE Hoge\r\n  : public ATL::CComObjectRootEx<ATL::CComSingleThreadModel>\r\n  , public ISequentialStream\r\n{\r\npublic:\r\n  BEGIN_COM_MAP(Hoge)\r\n    COM_INTERFACE_ENTRY(ISequentialStream)\r\n  END_COM_MAP()\r\n\r\n  IFACEMETHOD(Read)(\r\n    _Out_writes_bytes_to_(cb, *pcbRead) void* pv,\r\n    _In_ ULONG cb,\r\n    _Out_opt_ ULONG *pcbRead) override\r\n  {\r\n    return E_NOTIMPL;\r\n  }\r\n\r\n  IFACEMETHOD(Write)(\r\n    _In_reads_bytes_(cb) const void* pv,\r\n    _In_ ULONG cb,\r\n    _Out_opt_ ULONG *pcbWritten) override\r\n  {\r\n    return E_NOTIMPL;\r\n  }\r\n};\r\n\r\nvoid worker(DWORD mainThreadId)\r\n{\r\n  \/\/ 2\u3064\u76ee\u306eSTA\u3092\u4f5c\u308b\u3002\r\n  if (FAILED(CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE)))\r\n    return;\r\n\r\n  try\r\n  {\r\n    ATL::CComPtr<ISequentialStream> s;\r\n    ATLENSURE_SUCCEEDED(g1.CopyTo(&s));\r\n\r\n    \/\/ 1\u3064\u76ee\u306eSTA\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002\r\n    char buf;\r\n    s->Read(&buf, sizeof buf, nullptr);\r\n  }\r\n  catch (const ATL::CAtlException& e)\r\n  {\r\n    std::clog << ATL::AtlGetErrorDescription(e) << std::endl;\r\n  }\r\n  CoUninitialize();\r\n\r\n  PostThreadMessage(mainThreadId, WM_QUIT, 0, 0);\r\n}\r\n\r\nint WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)\r\n{\r\n  \/\/ 1\u3064\u76ee\u306eSTA\u3092\u4f5c\u308b\u3002\r\n  if (FAILED(CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE)))\r\n    return 1;\r\n\r\n  {\r\n    ATL::CComObjectStackEx<Hoge> obj;\r\n    g1 = &obj;\r\n    std::thread t(worker, GetCurrentThreadId());\r\n\r\n    MSG msg;\r\n    for (;;)\r\n    {\r\n      int ret = GetMessage(&msg, nullptr, 0, 0);\r\n      if (ret == 0 || ret == -1)\r\n        break;\r\n      TranslateMessage(&msg);\r\n      DispatchMessage(&msg);\r\n    }\r\n\r\n    t.join();\r\n    g1.Revoke();\r\n  }\r\n  CoUninitialize();\r\n  return 0;\r\n}\r\n<\/pre>\n<p>Hoge::Read\u306bVisual Studio\u3067\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8cbc\u3063\u3066\u5f85\u3061\u69cb\u3048\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u72b6\u614b\u3067\u3001\u307e\u305a\u306f\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u5074\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\u3092\u8868\u793a\u3057\u307e\u3059\u3002DispatchMessage\u304b\u3089\u6700\u7d42\u7684\u306bHoge::Read\u306b\u5230\u9054\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/main-thread.png\" alt=\"\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff08\u305d\u306e1\uff09\" width=\"392\" height=\"296\" class=\"aligncenter size-full wp-image-707\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread.png 392w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread-300x226.png 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/p>\n<p>\u6b21\u306b\u95a2\u6570worker\u306e\u30b9\u30ec\u30c3\u30c9\u3082\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3053\u3061\u3089\u306fcombase.dll!CCliModalLoop::BlockFn\u3092\u901a\u308aMsgWaitForMultipleObjectsEx\u3067\u5f85\u6a5f\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread.png\" alt=\"\u30ef\u30fc\u30ab\u30fc\u30b9\u30ec\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff08\u305d\u306e1\uff09\" width=\"392\" height=\"296\" class=\"aligncenter size-full wp-image-708\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread.png 392w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread-300x226.png 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/p>\n<h3>\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u4e2d\u306b\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057<\/h3>\n<p>\u305d\u306e\u72b6\u614b\u304b\u3089\u3055\u3089\u306b2\u3064\u76ee\u306eSTA\u306b\u5bfe\u3057\u3066\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u304a\u624b\u8efd\u306b\u3001\u5148\u306e\u30b3\u30fc\u30c9\u306eRead\u95a2\u6570\u3092\u6539\u9020\u3057\u307e\u3059\u3002<\/p>\n<pre lang=\"cpp\">\r\nATL::CComGITPtr<ISequentialStream> g1; \/\/ 1\u3064\u76ee\u306eSTA\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\r\nATL::CComGITPtr<ISequentialStream> g2; \/\/ 2\u3064\u76ee\u306eSTA\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\r\n\r\n\/\/ \u2026\u2026\r\n\r\n\/\/ Hoge\u5185\r\n  IFACEMETHOD(Read)(\r\n    _Out_writes_bytes_to_(cb, *pcbRead) void* pv,\r\n    _In_ ULONG cb,\r\n    _Out_opt_ ULONG *pcbRead) override\r\n  {\r\n    ATL::CComPtr<ISequentialStream> s;\r\n    ATLENSURE_SUCCEEDED(g2.CopyTo(&s));\r\n\r\n    \/\/ 2\u3064\u76ee\u306eSTA\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002\r\n    char buf;\r\n    s->Write(&buf, sizeof buf, nullptr);\r\n\r\n    return E_NOTIMPL;\r\n  }\r\n\r\n\/\/ \u2026\u2026\r\n\r\nvoid worker(DWORD mainThreadId)\r\n{\r\n  if (FAILED(CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE)))\r\n    return;\r\n\r\n  try\r\n  {\r\n    \/\/ 2\u3064\u76ee\u306eSTA\u4e0a\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\r\n    ATL::CComObjectStackEx<Hoge> obj;\r\n    g2 = &obj;\r\n\r\n    ATL::CComPtr<ISequentialStream> s;\r\n    ATLENSURE_SUCCEEDED(g1.CopyTo(&s));\r\n\r\n    char buf;\r\n    s->Read(&buf, sizeof buf, nullptr);\r\n\r\n    g2.Revoke();\r\n  }\r\n  catch (const ATL::CAtlException& e)\r\n  {\r\n    std::clog << ATL::AtlGetErrorDescription(e) << std::endl;\r\n  }\r\n  CoUninitialize();\r\n\r\n  PostThreadMessage(mainThreadId, WM_QUIT, 0, 0);\r\n}\r\n<\/pre>\n<p>\u4eca\u5ea6\u306fHoge::Write\u306b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8cbc\u3063\u3066\u6b62\u3081\u307e\u3059\u3002worker\u95a2\u6570\uff082\u3064\u76ee\u306eSTA\uff09\u2192Hoge::Read\u95a2\u6570\uff081\u3064\u76ee\u306eSTA\uff09\u2192Hoge::Write\u95a2\u6570\uff082\u3064\u76ee\u306eSTA\uff09\u3068\u3044\u3046\u6d41\u308c\u3067\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u3082\u30e1\u30a4\u30f3\u30b9\u30ec\u30c3\u30c9\u5074\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\u3092\u898b\u307e\u3059\u3002Hoge::Read\u304b\u3089MsgWaitForMultipleObjectsEx\u306b\u4f38\u3073\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/main-thread-2.png\" alt=\"main-thread-2\" width=\"392\" height=\"520\" class=\"aligncenter size-full wp-image-709\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread-2.png 392w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread-2-226x300.png 226w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/p>\n<p>\u305d\u3057\u3066\u3001\u6b21\u304c\u95a2\u6570worker\u306e\u30b9\u30ec\u30c3\u30c9\u3067\u3059\u3002\u5148\u307b\u3069\u3082\u3042\u3063\u305fcombase.dll!CCliModalLoop::BlockFn\u304b\u3089\u6700\u7d42\u7684\u306bHoge::Write\u306b\u8fbf\u308a\u7740\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread-2.png\" alt=\"worker-thread-2\" width=\"392\" height=\"520\" class=\"aligncenter size-full wp-image-710\" srcset=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread-2.png 392w, https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/worker-thread-2-226x300.png 226w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/p>\n<p>STA\u3067\u306f\u3001\u3053\u306e\u3088\u3046\u306b\u5916\u3078\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u6700\u4e2d\u306b\u5916\u304b\u3089\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u53d7\u3051\u4ed8\u3051\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u304c\u518d\u5165 (Re-entrancy)\u3067\u3059\u3002<\/p>\n<h3>\u4f59\u8ac7\uff1a\u30e1\u30c3\u30bb\u30fc\u30b8\u30d5\u30a3\u30eb\u30bf<\/h3>\n<p>\u306a\u304a\u3001STA\u3067\u306f\u30e1\u30bd\u30c3\u30c9\u30fb\u30a6\u30a3\u30f3\u30c9\u30a6\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u53d7\u3051\u4ed8\u3051\u3092<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms693740.aspx\">IMessageFilter<\/a>\u3068<a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms693324.aspx\">CoRegisterMessageFilter<\/a>\u3067\u3042\u308b\u7a0b\u5ea6\u5236\u5fa1\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u7d42\u308f\u308a\u306b<\/h3>\n<p>STA\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30eb\u30fc\u30d7\u306e\u5143\u3067\u52d5\u4f5c\u3059\u308b\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u3059\u3002\u4eca\u56de\u306f\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff08\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff09\u3067\u7c21\u6613\u7684\u306b\u305d\u306e\u3053\u3068\u3092\u898b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u518d\u5165\u304c\u8d77\u3053\u308b\u3053\u3068\u3092\u5fd8\u308c\u3066\u3044\u308b\u3068\u3001\u4e88\u671f\u305b\u306c\u3068\u3053\u308d\u3067\u30e1\u30f3\u30d0\u5909\u6570\u306e\u5024\u304c\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u3068\u3044\u3046\u4e00\u898b\u4e0d\u601d\u8b70\u306a\u30d0\u30b0\u306b\u906d\u9047\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\uff08\u3042\u308a\u307e\u3057\u305f\uff09\u3002\u3082\u3061\u308d\u3093\u3001\u518d\u5165\u3067\u547c\u3073\u51fa\u3055\u308c\u305f\u30e1\u30f3\u30d0\u95a2\u6570\u3067\u66f8\u304d\u63db\u3048\u3089\u308c\u3066\u3044\u305f\u306e\u304c\u5b9f\u614b\u3067\u3059\u3002STA\u56fa\u6709\u306e\u554f\u984c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5fd8\u308c\u3066\u3044\u308b\u3068\u30cf\u30de\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u6c17\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10],"tags":[260,299],"class_list":["post-706","post","type-post","status-publish","format-standard","hentry","category-com","tag-advent-calendar","tag-ccomgitptr"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d<\/title>\n<meta name=\"description\" content=\"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"og:description\" content=\"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ysk.noh\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-13T14:59:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-05T13:41:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread.png\" \/>\n<meta name=\"author\" content=\"egtra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@egtra\" \/>\n<meta name=\"twitter:site\" content=\"@egtra\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"egtra\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/\",\"name\":\"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"isPartOf\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\"},\"datePublished\":\"2014-12-13T14:59:23+00:00\",\"dateModified\":\"2015-05-05T13:41:23+00:00\",\"author\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\"},\"description\":\"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/dev.activebasic.com\/egtra\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#website\",\"url\":\"https:\/\/dev.activebasic.com\/egtra\/\",\"name\":\"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d\",\"description\":\"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164\",\"name\":\"egtra\",\"sameAs\":[\"https:\/\/x.com\/egtra\"],\"url\":\"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/","og_locale":"ja_JP","og_type":"article","og_title":"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","og_description":"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002","og_url":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/","og_site_name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","article_publisher":"https:\/\/www.facebook.com\/ysk.noh","article_published_time":"2014-12-13T14:59:23+00:00","article_modified_time":"2015-05-05T13:41:23+00:00","og_image":[{"url":"https:\/\/dev.activebasic.com\/egtra\/wp-content\/uploads\/2014\/12\/main-thread.png"}],"author":"egtra","twitter_card":"summary_large_image","twitter_creator":"@egtra","twitter_site":"@egtra","twitter_misc":{"\u57f7\u7b46\u8005":"egtra","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/","url":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/","name":"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b - \u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","isPartOf":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#website"},"datePublished":"2014-12-13T14:59:23+00:00","dateModified":"2015-05-05T13:41:23+00:00","author":{"@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164"},"description":"STA\u3067\u306e\u30a2\u30d1\u30fc\u30c8\u30e1\u30f3\u30c8\u9593\u306e\u30b9\u30ec\u30c3\u30c9\u547c\u3073\u51fa\u3057\u306e\u69d8\u5b50\u3092\u30b3\u30fc\u30eb\u30b9\u30bf\u30c3\u30af\uff08Visual Studio\u306e\u547c\u3073\u51fa\u3057\u5c65\u6b74\uff09\u3067\u898b\u3066\u307f\u307e\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dev.activebasic.com\/egtra\/2014\/12\/13\/706\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/dev.activebasic.com\/egtra\/"},{"@type":"ListItem","position":2,"name":"STA\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u898b\u3066\u307f\u308b"}]},{"@type":"WebSite","@id":"https:\/\/dev.activebasic.com\/egtra\/#website","url":"https:\/\/dev.activebasic.com\/egtra\/","name":"\u30a4\u30b0\u30c8\u30e9\u30f3\u30b9\u306e\u982d\u306e\u4e2d","description":"\u982d\u306e\u4e2d\u306e\u304b\u3051\u3089\u3002ActiveBasic\u3092\u4e2d\u5fc3\u306b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8a71\u3092\u307c\u3061\u307c\u3061\u3068\u3002","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dev.activebasic.com\/egtra\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/dev.activebasic.com\/egtra\/#\/schema\/person\/8de756b2ff20b964f64594dfe8f18164","name":"egtra","sameAs":["https:\/\/x.com\/egtra"],"url":"https:\/\/dev.activebasic.com\/egtra\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/706"}],"collection":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":0,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.activebasic.com\/egtra\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}