{"type":"rich","published":"2020-05-08 15:57:04","height":"190","image_url":null,"categories":["MFC","VC"],"blog_title":"shikaku's blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F2020%2F05%2F08%2F155704\" title=\"VC++\u3067\u30d6\u30e9\u30a6\u30b6\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","title":"VC++\u3067\u30d6\u30e9\u30a6\u30b6\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb","provider_url":"https://hatena.blog","url":"https://blog.systemjp.net/entry/2020/05/08/155704","version":"1.0","description":"#include <windows.h> #include <tchar.h> #import <shdocvw.dll> #import <mshtml.tlb> int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { HRESULT hr = ::CoInitialize(NULL); //COM\u3092\u4f7f\u3046\u3068\u304d\u306e\u304a\u7d04\u675f if (FAILED(hr)) { return -1; } NewIE(); //\u65b0\u3057\u3044IE\u3092\u958b\u304f HWND hwnd = ::Find\u2026","author_url":"https://blog.hatena.ne.jp/shikaku/","author_name":"shikaku","blog_url":"https://blog.systemjp.net/","provider_name":"Hatena Blog"}