<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ousttrue</author_name>
  <author_url>https://blog.hatena.ne.jp/ousttrue/</author_url>
  <blog_title>三次元日誌</blog_title>
  <blog_url>https://ousttrue.hatenadiary.org/</blog_url>
  <categories>
    <anon>c++</anon>
  </categories>
  <description>やっつけでglutに仕込むのに使った。 Windowsでは常にGetOpenFileNameが使えるが、 X11では何が入っているか判らないのが悩ましかったり。 適当なインタプリタ的なものからダイアログを開いて標準出力から結果を受け取るのがお手軽だろう。 Xdialogを使ってみた。 #ifdef _MSC_VER #include &lt;tchar.h&gt; #pragma comment(lib, &quot;Comdlg32.lib&quot;) #pragma comment(lib, &quot;User32.lib&quot;) #else #include &lt;stdio.h&gt; #endif std::string file; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fousttrue.hatenadiary.org%2Fentry%2F20090427%2F1240857133&quot; title=&quot;ファイルダイアログメモ - 三次元日誌&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>2009-04-27 03:32:13</published>
  <title>ファイルダイアログメモ</title>
  <type>rich</type>
  <url>https://ousttrue.hatenadiary.org/entry/20090427/1240857133</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
