<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sygh</author_name>
  <author_url>https://blog.hatena.ne.jp/sygh/</author_url>
  <blog_title>syghの新フラグメント置き場</blog_title>
  <blog_url>https://sygh.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>Visual Studio</anon>
    <anon>プログラミングTips</anon>
    <anon>MFC</anon>
  </categories>
  <description>（これは2010-06-05に書いた故OCNブログの記事を移植したものです） バグの発見、MS Connect への報告と顛末 Visual Studio 2008/2010 の MFC 9.0/10.0 では、CFileDialog::SetDefExt() の引数の型が間違っていて、本来 LPCTSTR (LPCWSTR for UNICODE / LPCSTR for MBCS) とすべきところを LPCSTR (MBCS) としてしまっています。 OS が Vista 以降でなおかつ Vista スタイルのファイル ダイアログの場合は、関数内部で LPCSTR 引数を CStringW…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2014%2F11%2F30%2F155759&quot; title=&quot;MFCのCFileDialog::SetDefExt()の引数の型について - syghの新フラグメント置き場&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>2014-11-30 15:57:59</published>
  <title>MFCのCFileDialog::SetDefExt()の引数の型について</title>
  <type>rich</type>
  <url>https://sygh.hatenadiary.jp/entry/2014/11/30/155759</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
