{"id":14,"date":"2006-05-03T10:36:25","date_gmt":"2006-05-03T08:36:25","guid":{"rendered":"http:\/\/soci.hu\/blog\/index.php\/2006\/05\/03\/a-windows-source-haszna\/"},"modified":"2006-05-03T16:29:20","modified_gmt":"2006-05-03T14:29:20","slug":"a-windows-source-haszna","status":"publish","type":"post","link":"https:\/\/soci.hu\/blog\/index.php\/2006\/05\/03\/a-windows-source-haszna\/","title":{"rendered":"A Windows Source haszna"},"content":{"rendered":"<p>K\u00e9t \u00e9ve van hozz\u00e1f\u00e9r\u00e9sem a Windows forr\u00e1sk\u00f3dhoz, de am\u00edg oktattam nem sok haszn\u00e1t vettem, mivel z\u00f6m\u00e9ben managed k\u00f3dokkal volt dolgom.<\/p>\n<p>Most az \u00faj munk\u00e1mban viszont r\u00e9szben nat\u00edv C++ k\u00f3dokat tanulm\u00e1nyozok. Volt p\u00e9ld\u00e1ul egy probl\u00e9ma, amiben a BitBlt API f\u00fcggv\u00e9ny nem m\u00e1solta \u00e1t a Layered Window technik\u00e1val kialak\u00edtott ablakokat (egyfajta Screen Capture dologr\u00f3l van sz\u00f3). A forr\u00e1sban megkerestem mi fut le a Print Screen megnyom\u00e1s\u00e1ra, az ugyanis kiv\u00e1l\u00f3an m\u00e1solta ezeket a k\u00fcl\u00f6nleges ablakokat is. Kider\u00fclt, hogy van egy plusz param\u00e9tert, amivel meg lehet mondani, hogy a Layered Windokat is m\u00e1solja. Persze, az eg\u00e9sz publikus, benne van a gdi.h-ban, de a fene vette \u00e9szre mag\u00e1t\u00f3l, k\u00f6nnyebb volt megn\u00e9zni az MS hogy csin\u00e1lja h\u00e1zon bel\u00fcl.<\/p>\n<p>A m\u00e1sik, amin most \u00e9ppen dolgozom, hogy a c\u00e9g programja egy, IE-ben fut\u00f3 ActiveX-et haszn\u00e1l\u00f3 alkamaz\u00e1s \u00f6sszeveszik egym\u00e1ssal, amit\u0151l elsz\u00e1ll az IE. Az a nagyszer\u0171, hogy a forr\u00e1sk\u00f3dokhoz j\u00e1r egy private debug symbol repository, \u00edgy a VS leh\u00fazza maga al\u00e1 az \u00f6sszes bet\u00f6lt\u00f6tt windows dll szimb\u00f3lumat, \u00edgy ak\u00e1r forr\u00e1sk\u00f3d szinten tudom debugolni a windows komponenseit. Az IE debug miatt eddig 250 mega szimb\u00f3lum j\u00f6tt le.<\/p>\n<p>Ez a <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/ms164729.aspx\" target=\"_blank\">cikk<\/a> le\u00edrja hogyan is megy a dolog.<\/p>\n<p>Aj\u00e1nlom a t\u00e9m\u00e1ban a <a href=\"http:\/\/www.amazon.com\/gp\/product\/0735615365\" target=\"_blank\">Debugging Applications for Microsoft .NET and Microsoft Windows<\/a> c. k\u00f6nyvet, nagyon j\u00f3.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>K\u00e9t \u00e9ve van hozz\u00e1f\u00e9r\u00e9sem a Windows forr\u00e1sk\u00f3dhoz, de am\u00edg oktattam nem sok haszn\u00e1t vettem, mivel z\u00f6m\u00e9ben managed k\u00f3dokkal volt dolgom. Most az&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-szakmai-elet"],"_links":{"self":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/soci.hu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}