{"width":"100%","categories":["C/C++\u958b\u767a"],"blog_url":"https://3ryupg.hatenablog.com/","title":"(C++)\u74b0\u5883\u5909\u6570\u3068\u306a\u3063\u3066\u308b\u30d1\u30b9\u3092\u5c55\u958b\u3059\u308b","provider_url":"https://hatena.blog","url":"https://3ryupg.hatenablog.com/entry/2010/05/12/235500","type":"rich","author_url":"https://blog.hatena.ne.jp/deloreanmc12/","image_url":null,"blog_title":"3\u6d41\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30e1\u30e2\u66f8\u304d","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2F3ryupg.hatenablog.com%2Fentry%2F2010%2F05%2F12%2F235500\" title=\"(C++)\u74b0\u5883\u5909\u6570\u3068\u306a\u3063\u3066\u308b\u30d1\u30b9\u3092\u5c55\u958b\u3059\u308b - 3\u6d41\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u30e1\u30e2\u66f8\u304d\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","description":"%systemroot% \u3068\u304b %ProgramFiles% \u3068\u304b\u306e\u74b0\u5883\u5909\u6570\u306e\u30d1\u30b9\u3092C++\u3067\u5c55\u958b\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002 Windows\u306b\u306f\u305d\u308c\u7528\u306eAPI\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u305d\u308c\u3092\u4f7f\u3048\u3070\u3044\u3044\u3088\u3046\u3067\u3059\u3002 API\u306f ExpandEnvironmentStrings\u3092\u4f7f\u3044\u307e\u3059\u3002 \u4f7f\u3044\u65b9\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002 //MFC\u3067CString\u4f7f\u3063\u305f\u3068\u304d CString filePath = _T(\"%ProgramFiles%\\\\xxx\\\\xxx.exe\"); char chrPath[MAX_PATH]; CString filePath2 ; //\u74b0\u5883\u5909\u6570\u3092\u5c55\u958b ExpandEnvironmentString\u2026","height":"190","author_name":"deloreanmc12","version":"1.0","published":"2010-05-12 23:55:00"}