買這商品的人也買了...
-
$1,029Fundamentals of Data Structures in C
-
$980$774 -
$970Introduction to Algorithms, 2/e (Hardcover)
-
$1,330$1,260 -
$1,150$1,127 -
$880$695 -
$1,274Computer Architecture: A Quantitative Approach, 3/e(精裝本)
-
$820$199 -
$780$741 -
$760$600 -
$590$466 -
$690$538 -
$720$569 -
$750$638 -
$560$476 -
$880$695 -
$650$553 -
$450$351 -
$480$379 -
$750$593 -
$780$616 -
$780$663 -
$1,430$1,359 -
$675LPIC 1 Exam Cram 2: Linux Professional Institute Certification Exams 101 and 102 (Paperback)
-
$650$507
商品描述
The focus of the book is on COM Interoperability (since it's a much larger subject), and the heart of the discussion is broken down into four parts:
- Using COM Components Within the .NET Framework
- Using .NET Framework Components from COM
- Designing Good .NET Framework Components for COM Clients
- Designing Good COM Components for .NET Framework Clients
The scope of the book is just about everything related to using "unmanaged code" in the .NET Framework. Technologies built on top of COM Interoperability are also covered-Interoperability of Windows Forms Controls and ActiveX controls, Interoperability with COM+, and Interoperability with Distributed COM (DCOM). Although Platform Invocation Services is a separate technology from COM Interoperability, there are many areas of overlap, so including in the book is a natural fit. All of these technologies are a core part of the Common Language Runtime and .NET Framework, and will likely be used not only as the path of migration for existing software projects, but for brand new software development for the next several years.
Table of Contents
Introduction.
I. BACKGROUND.
1. Introduction to the .NET Framework.
2. Bridging the Two Worlds-Managed
and Unmanaged Code.
II. USING COMCOMPONENTS IN .NETAPPLICATIONS.
3. The Essentials for Using COM in Managed Code.
4. An In-Depth Look
at Imported Assemblies.
5. Responding to COM Events.
6. Advanced Topics
for Using COM Components.
7. Modifying Interop Assemblies.
III. USING .NETCOMPONENTS IN COMAPPLICATIONS.
8. The Essentials for Using .NET Components from COM.
9. An In-Depth
Look at Exported Type Libraries.
10. Advanced Topics for Using .NET
Components.
IV. DESIGNING GREAT .NETCOMPONENTS FOR COMCLIENTS.
11. .NET Design Guidelines for Components Used by COM Clients.
12.
Customizing COM's View of .NET Components.
13. Exposing .NETEvents to COM
Clients.
14. Implementing COM Interfaces for Binary Compatibility.
V. DESIGNING GREAT COMCOMPONENTS FOR .NETCLIENTS.
15. Creating and Deploying Useful Primary Interop Assemblies.
16. COM
Design Guidelines for Components Used by .NET Clients.
17. Implementing .NET
Interfaces for Type Compatibility.
VI. PLATFORM INVOCATION SERVICES (PINVOKE).
18. The Essentials of PInvoke.
19. Deeper Into PInvoke and Useful
Examples.
VII. ADVANCED TOPICS.
20. Custom Marshaling.
21. Manually Defining COM Types in Source
Code.
22. Using APIs Instead of SDK Tools.
VIII. COMPREHENSIVE EXAMPLES.
23. Writing a .NET Arcade Game Using DirectX.
24. Writing .NET
Visualizations For Windows Media Player.
IX. APPENDICES.
Appendix A. System.Runtime.InteropServices Reference.
Appendix B. SDK
Tools Reference.
Appendix C. HRESULT to .NET Exception Transformations.
Appendix D. .NET Exception to HRESULT Transformations.
Appendix E.
PInvoke Definitions for Win32 Functions.
Appendix F. Glossary.
Index.
商品描述(中文翻譯)
本書的重點在於 COM 互操作性(因為這是一個更大的主題),討論的核心分為四個部分:
- 在 .NET Framework 中使用 COM 元件
- 從 COM 使用 .NET Framework 元件
- 為 COM 客戶端設計良好的 .NET Framework 元件
- 為 .NET Framework 客戶端設計良好的 COM 元件
本書的範圍幾乎涵蓋了在 .NET Framework 中使用「非管理代碼」的所有相關內容。還涵蓋了基於 COM 互操作性的技術,包括 Windows Forms 控制項和 ActiveX 控制項的互操作性、與 COM+ 的互操作性,以及與分散式 COM (DCOM) 的互操作性。雖然平台調用服務(Platform Invocation Services)是一種與 COM 互操作性不同的技術,但有許多重疊的領域,因此將其納入本書是自然而然的選擇。所有這些技術都是公共語言執行時(Common Language Runtime)和 .NET Framework 的核心部分,未來幾年內不僅將作為現有軟體專案的遷移路徑,還將用於全新的軟體開發。
目錄
引言。
I. 背景。
1. .NET Framework 簡介。
2. 橋接兩個世界——管理代碼和非管理代碼。
II. 在 .NET 應用程式中使用 COM 元件。
3. 在管理代碼中使用 COM 的基本要素。
4. 對導入的組件進行深入分析。
5. 響應 COM 事件。
6. 使用 COM 元件的進階主題。
7. 修改互操作組件。
III. 在 COM 應用程式中使用 .NET 元件。
8. 從 COM 使用 .NET 元件的基本要素。
9. 對導出的類型庫進行深入分析。
10. 使用 .NET 元件的進階主題。
IV. 為 COM 客戶端設計優秀的 .NET 元件。
11. COM 客戶端使用的 .NET 設計指南。
12. 自訂 COM 對 .NET 元件的視圖。
13. 將 .NET 事件暴露給 COM 客戶端。
14. 實現二進位相容的 COM 介面。
V. 為 .NET 客戶端設計優秀的 COM 元件。
15. 創建和部署有用的主要互操作組件。
16. .NET 客戶端使用的 COM 設計指南。
17. 實現 .NET 介面以達到類型相容性。
VI. 平台調用服務(PINVOKE)。
18. PInvoke 的基本要素。
19. 更深入的 PInvoke 和有用的範例。
VII. 進階主題。
20. 自訂封送處理。
21. 在源代碼中手動定義 COM 類型。
22. 使用 API 而非 SDK 工具。
VIII. 綜合範例。
23. 使用 DirectX 編寫 .NET 街機遊戲。
24. 為 Windows Media Player 編寫 .NET 視覺化。
IX. 附錄。
附錄 A. System.Runtime.InteropServices 參考。
附錄 B. SDK 工具參考。
附錄 C. HRESULT 到 .NET 異常的轉換。
附錄 D. .NET 異常到 HRESULT 的轉換。
附錄 E. Win32 函數的 PInvoke 定義。
附錄 F. 詞彙表。
索引。