{"id":82,"date":"2012-06-19T14:18:42","date_gmt":"2012-06-19T05:18:42","guid":{"rendered":"http:\/\/soundengine.jp\/wordpress\/tips\/?p=82"},"modified":"2014-02-06T23:42:41","modified_gmt":"2014-02-06T14:42:41","slug":"trace%e3%81%a8atltrace2","status":"publish","type":"post","link":"https:\/\/soundengine.jp\/wordpress\/tips\/try\/82\/","title":{"rendered":"TRACE\u3068ATLTRACE2"},"content":{"rendered":"<h2 id=\"content_1_0\">TRACE  <a class=\"anchor_super\" id=\"j13c07b3\" href=\"http:\/\/soundengine.jp\/backend\/?services%2Ftips%2F2006-12-29#j13c07b3\" title=\"j13c07b3\"> <\/a><\/h2>\n<p>Visual C++\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3068\u304d\u306b\u5909\u6570\u3092\u8ffd\u3044\u305f\u3044\u6642\u306b\u3001printf\u4ee3\u308f\u308a\u306b\u30c7\u30d0\u30c3\u30b0\u6642\u306b\u4f7f\u3048\u308b\u3082\u306e\u3068\u3057\u3066TRACE\u304c\u3042\u308b\u306e\u3060\u304c\u3001MSDN\u3067\u3053\u308c\u3092\u8abf\u3079\u305f\u3068\u3053\u308d<\/p>\n<blockquote>\n<p class=\"quotation\">TRACE \u3068 ATLTRACE2 \u306e\u52d5\u4f5c\u306f\u540c\u3058\u3067\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u3002(\u5f15\u7528\u5143: <a href=\"http:\/\/msdn2.microsoft.com\/ja-jp\/library\/6w95a4ha%28vs.80%29.aspx\" rel=\"nofollow\">MSDN<\/a>)\u3068\u3044\u3046\u3053\u3068\u306f\u3001MFC\u3067\u3082\u3053\u306eATLTRACE2\u304c\u4f7f\u3048\u308b\u304b\u3069\u3046\u304b\u4f7f\u3063\u3066\u307f\u305f\u3068\u3053\u308d\u3001\u666e\u901a\u306b\u3053\u306e\u3088\u3046\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<div style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/soundengine.jp\/backend\/?plugin=ref&amp;page=services%2Ftips%2F2006-12-29&amp;src=atltrace2.png\" alt=\"atltrace2.png\" height=\"120\" width=\"289\"><\/div>\n<pre>ATLTRACE2( \"CTestDlg::OnPaint\\n\" );\r\nATLTRACE2( \"CTestDlg::OnPaint%p\\n\", this );<\/pre>\n<div class=\"jumpmenu\">\n<\/div>\n<h2 id=\"content_1_1\">TRACE0  <a class=\"anchor_super\" id=\"wb9e1169\" href=\"http:\/\/soundengine.jp\/backend\/?services%2Ftips%2F2006-12-29#wb9e1169\" title=\"wb9e1169\"> <\/a><\/h2>\n<p>MFC\u306eTRACE\u306e\u65b9\u6cd5\u306bTRACE0\u301c3\u307e\u3067\u3042\u308b\u306e\u3060\u304c\u3001MSDN\u306b\u306f\u3001<\/p>\n<blockquote>\n<p class=\"quotation\">TRACE \u30de\u30af\u30ed\u306f\u4e92\u63db\u6027\u306e\u305f\u3081\u306b\u6b8b\u3055\u308c\u3066\u304a\u308a\u3001ATLTRACE2 \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<\/blockquote>\n<p>\u3068\u306e\u3053\u3068\u3060\u3063\u305f\u3002(\u5f15\u7528\u5143: <a href=\"http:\/\/msdn2.microsoft.com\/ja-jp\/library\/w6xa1ayx%28VS.80%29.aspx\" rel=\"nofollow\">MSDN<\/a>)<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001TRACE\u306e\u6642\u3092\u542b\u3081MFC\u3067\u3082ATLTRACE2\u3092\u4f7f\u3048\u3070\u3044\u3044\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308b\u3002\u81ea\u5206\u306e\u5834\u5408WTL\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u5834\u5408\u3082\u3042\u308b\u306e\u3067\u3001\u3053\u306eATLTRACE2\u3060\u3051\u899a\u3048\u3066\u304a\u304f\u306e\u304c\u5409\u304b\u306a\u3002<\/p>\n<div class=\"jumpmenu\">\n<\/div>\n<h2 id=\"content_1_2\">ATLTRACE2  <a class=\"anchor_super\" id=\"t5fd64f7\" href=\"http:\/\/soundengine.jp\/backend\/?services%2Ftips%2F2006-12-29#t5fd64f7\" title=\"t5fd64f7\"> <\/a><\/h2>\n<p>\u3055\u3066\u3001\u3053\u306eATLTRACE2\u3060\u304c\u3001MSDN\u306b\u306f\u4e8c\u3064\u306e\u69cb\u6587\u304c\u8f09\u3063\u3066\u3044\u308b\u3002<\/p>\n<pre>ATLTRACE2( exp );\r\nATLTRACE2(\r\n   DWORD category,\r\n   UINT level,\r\n   LPCSTR lpszFormat,\r\n   ...\r\n);<\/pre>\n<p>(\u5f15\u7528\u5143: <a href=\"http:\/\/msdn2.microsoft.com\/ja-jp\/library\/dhxsse89%28VS.80%29.aspx\" rel=\"nofollow\">MSDN<\/a>)\u4e0a\u306eATLTRACE2\u306f\u306a\u3093\u3068\u306a\u304f\u666e\u901a\u306eTRACE\u3060\u3068\u3044\u3046\u306e\u304c\u308f\u304b\u308b\u306e\u3060\u304c\u3001\u305d\u306e\u4e0b\u304c\u30a4\u30de\u30a4\u30c1\u5206\u304b\u3089\u306a\u3044\u3002\u3067\u3001\u3053\u308c\u3092\u89e3\u6c7a\u3059\u308b\u30d2\u30f3\u30c8\u304cVisual Studio\u4ed8\u5c5e\u306eATL\/MFC\u30c8\u30ec\u30fc\u30b9\u30c4\u30fc\u30eb\u306b\u3042\u3063\u305f\u3002<\/p>\n<div style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/soundengine.jp\/backend\/?plugin=ref&amp;page=services%2Ftips%2F2006-12-29&amp;src=atl_mfc_trace_tool.jpg\" alt=\"atl_mfc_trace_tool.jpg\" height=\"240\" width=\"322\"><\/div>\n<p>\u3069\u3046\u3084\u3089\u3001category\u3068\u3044\u3046\u306e\u306f\u3053\u3053\u3067\u3044\u3046\u300c\u5206\u985e\u300d\u3067\u3042\u308a\u30c8\u30ec\u30fc\u30b9\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u91cf\u304clevel\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3088\u3046\u3060\u3002\u3064\u307e\u308a\u3001\u4e0a\u306eATLTRACE2\u306fcategory\u304catlTraceGeneral\u3067\u3042\u308alevel\u306f0\u3092\u7701\u7565\u3057\u305f\u3082\u306e\u306e\u3088\u3046\u3060\u3002\u3067\u3001\u3053\u306eATL\/MFC\u30c8\u30ec\u30fc\u30b9\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u305d\u308c\u3089TRACE\u306e\u3046\u3061\u3069\u308c\u3092Visual Studio\u306e\u51fa\u529b\u306b\u51fa\u3059\u304b\u3092\u6c7a\u3081\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\u3002<\/p>\n<p>\u305d\u308c\u306b\u3057\u3066\u3082\u3001Visual Studio\u672c\u4f53\u306b\u3053\u308c\u3092\u8a2d\u5b9a\u3059\u308b\u30c4\u30fc\u30eb\u304c\u3064\u3044\u3066\u3044\u306a\u3044\u306e\u306f\u4f55\u6545\u3060\u308d\u3046\u304b\u3001\u3001\u3001\u306a\u3069\u3068\u601d\u3063\u3066\u3057\u307e\u3046\u304c\u6b74\u53f2\u7684\u306a\u4f55\u304b\u3067\u3082\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002(\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u547c\u3073\u51fa\u305b\u308b\u306e\u3067\u3044\u3044\u306e\u3060\u304c\u3001\u3001\u3001)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TRACE Visual C++\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304f\u3068\u304d\u306b\u5909\u6570\u3092\u8ffd\u3044\u305f\u3044\u6642\u306b\u3001pr &hellip; <a href=\"https:\/\/soundengine.jp\/wordpress\/tips\/try\/82\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-try"],"_links":{"self":[{"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":6,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":3382,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/posts\/82\/revisions\/3382"}],"wp:attachment":[{"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soundengine.jp\/wordpress\/tips\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}