這裏顯示兩個版本的差異處。
Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
programming:dot_net_framework [2013/07/19 19:13] wenpei |
programming:dot_net_framework [2013/07/29 16:42] (目前版本) wenpei |
||
---|---|---|---|
行 107: | 行 107: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | 若編譯錯誤,可能是平台問題,打開 C# Project 的 Properties,在 Build Tab 裡面的 Platform target 選擇 x86 | ||
+ | |||
+ | {{:programming:clr_x86.png|}} | ||
==== 進階應用 ==== | ==== 進階應用 ==== | ||
行 184: | 行 188: | ||
WIC | WIC | ||
* [[http://msdn.microsoft.com/en-us/library/windows/desktop/ff973956.aspx|Using the Windows Imaging Component]] | * [[http://msdn.microsoft.com/en-us/library/windows/desktop/ff973956.aspx|Using the Windows Imaging Component]] | ||
+ | |||
+ | COM | ||
+ | * [[http://msdn.microsoft.com/zh-tw/library/aa288455%28v=vs.71%29.aspx|COM Interop 第 1 部份:C# 用戶端教學課程]] | ||
+ | * [[http://www.codeproject.com/Articles/38254/A-Beginner-Tutorial-for-Writing-Simple-COM-ATL-DLL|A Beginner Tutorial for Writing Simple COM/ATL DLL and Using it with .NET]] | ||