顯示具有 Windows programming 標籤的文章。 顯示所有文章
顯示具有 Windows programming 標籤的文章。 顯示所有文章

2014年9月30日

2014年6月18日

Use Windbg to analyze .Net dump

第二次了,再不記下來我下回一定想跳樓......

2014年3月24日

supported OS of .net framework / visual studio

記一下

win2000 只能裝到 .net 2.0
winXP home, pro, pro64 可以到 .net 4.0
win7 可以上 .net 4.5

vs2005 只能用 .net 2.0
vs2008 支援到 .net 3.5 (and above)
vs2010 支援到 .net 4.0 (and above)
vs2012 可以到 .net 4.5 (and above)

最後一個能編譯出 for win 2000 的 visual studio 是 2008
xp sp3 的話到 vs2010 都還可以

似乎可以讓新版 vs 調用舊版的 tool chain,
這樣也許就可以讓 vs2012 的 project 產生 win2000 compatible 的 binary
不過還沒試過
reference
http://stackoverflow.com/questions/12597604/visual-studio-2012-compiler-setup-possible-to-use-compiler-from-sdk-eg-vc20
http://blogs.msdn.com/b/vcblog/archive/2009/12/08/c-native-multi-targeting.aspx
http://msdn.microsoft.com/en-us/library/ff770576.aspx

2010年10月27日

Windows COM Object

最近莫名其妙都在跟 COM 打交道...
還是紀錄一下的好,微軟的東西都是一大坨亂七八糟的,
每次不要一個禮拜我就會忘記它在幹嘛.....-_-

code project 上面的教學,有點簡略不過名詞什麼的解釋算清楚:
Introduction to COM - What It Is and How to Use It.

這邊有一系列介紹 COM 相關的基礎知識和應用的文章,寫的相當仔細:
杨老师 个人专栏

讓我度濫 COM 的理由之一就是這個 IDL...
MSDN - Interface Definition (IDL) File
MSDN - MIDL Language Reference
Using COM Objects in IDL


IE BHO......嗯,不是很好玩
MSDN - Browser Helper Objects: The Browser the Way You Want It
Code Project - Popup Window Blocker

IE bar, band...希望我不要有需要寫這個的一天....
MSDN - Creating Custom Explorer Bars, Tool Bands, and Desk Bands

2010年10月26日

邪惡的 windows headers

想起來前陣子被婊的事情....