<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>MFC</anon>
    <anon>C++</anon>
  </categories>
  <description>黒いペン作ろうとしたらコンパイルエラーに。 CPen pen(PS_SOLID, 1, 0x000000); // オーバーロード関数の呼び出しを解決することができません。 CPenにはコンストラクタが2つあって、 CPen( int nPenStyle, int nWidth, const LOGBRUSH* pLogBrush, int nStyleCount = 0, const DWORD* lpStyle = NULL ); こちらのコンストラクタは見ての通り第三以降の引数が省略可能で、しかも第三引数がポインタであるために0を渡すとCOLORREF(unsigned long)なのか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F20071126%2F1196072137&quot; title=&quot;CPenでペン作ろうとしたらコンパイルが通らない罠 - 閑古鳥&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-11-26 19:15:37</published>
  <title>CPenでペン作ろうとしたらコンパイルが通らない罠</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/20071126/1196072137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
