[外文翻譯]com與com事件.rar
[外文翻譯]com與com事件,[外文翻譯]com與com事件包含中文翻譯和英文原文,內(nèi)容詳細(xì)完整,建議下載參考!中文: 3100 字英文: 10000字符創(chuàng)造com客戶(hù)端和服務(wù)器看起來(lái)很容易.正和最近發(fā)現(xiàn)的如何全面推行com事件有一些巧合。每項(xiàng)重要的網(wǎng)絡(luò)語(yǔ)言都有自己的不同. 當(dāng)談到vb.net,似乎很難動(dòng)態(tài)地連接或取下一個(gè)事件來(lái)例行公事. 說(shuō)到c#...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會(huì)員 xiaowei 發(fā)布
[外文翻譯]COM與COM事件
包含中文翻譯和英文原文,內(nèi)容詳細(xì)完整,建議下載參考!
中文: 3100 字
英文: 10000字符
創(chuàng)造com客戶(hù)端和服務(wù)器看起來(lái)很容易.正和最近發(fā)現(xiàn)的如何全面推行com事件有一些巧合。每項(xiàng)重要的網(wǎng)絡(luò)語(yǔ)言都有自己的不同. 當(dāng)談到VB.NET,似乎很難動(dòng)態(tài)地連接或取下一個(gè)事件來(lái)例行公事. 說(shuō)到C#的唯一問(wèn)題是在文件的最后.從一個(gè)Delphi的客戶(hù)端得到這個(gè)消息,可以貫穿一些基本com根基,并討論如何利用這些得到com interlope,并把工作重點(diǎn)放在C#和Delphi. 是在Delphi的背景下工作然后再用COM連接到網(wǎng)。Com的一個(gè)重要職能是分離接口和執(zhí)行. 一個(gè)接口定義了一些方法和性能,但不提供任何執(zhí)行. 一個(gè)CLASS由具有執(zhí)行代碼的成員組成. 成員可供對(duì)象實(shí)例從階級(jí)或接口提取. 一個(gè)COM對(duì)象,通過(guò)發(fā)布接口使其成員客戶(hù)端存在. 一個(gè)COM CLASS可實(shí)施任意數(shù)量的接口. C#中,VB.NET和Delphi中有一個(gè)非常自然的結(jié)構(gòu)規(guī)則。這個(gè)COM類(lèi)是firewatcher實(shí)行ifirewatcher和ifiledestroyer com接口. 在C++中,你需要用這種多重性接口的糟糕的機(jī)制來(lái)完成這一工作 ......
COM and COM events
At first sight creating COM clients and servers with .NET looks like a snap. As I recently found out implementing full COM event support has some quirks. Each of the major .NET languages has its own. When it comes to VB.NET it appears to be very hard (if not impossible) to dynamically attach or detach an event handling routine. When it comes to C# the only problem was in the end the documentation. In a comment savage mentions problems he has with responding to COM events from a Delphi client. In this post I'll run through some essential COM fundamentals and discuss how to use these to get COM interlope working with a focus on C# and Delphi. My background lies in Delphi,working with COM in Delphi brought me to .NET. An essential aspect of COM is the separation of interface and implementation. An interface defines a number of methods and properties but does not provide any implementation. A class has members with implementing code. Members are made available to objects instantiated from the class or in interfaces extracted from these objects. A COM object makes members available to COM clients by publishing interfaces. One COM class can ......
包含中文翻譯和英文原文,內(nèi)容詳細(xì)完整,建議下載參考!
中文: 3100 字
英文: 10000字符
創(chuàng)造com客戶(hù)端和服務(wù)器看起來(lái)很容易.正和最近發(fā)現(xiàn)的如何全面推行com事件有一些巧合。每項(xiàng)重要的網(wǎng)絡(luò)語(yǔ)言都有自己的不同. 當(dāng)談到VB.NET,似乎很難動(dòng)態(tài)地連接或取下一個(gè)事件來(lái)例行公事. 說(shuō)到C#的唯一問(wèn)題是在文件的最后.從一個(gè)Delphi的客戶(hù)端得到這個(gè)消息,可以貫穿一些基本com根基,并討論如何利用這些得到com interlope,并把工作重點(diǎn)放在C#和Delphi. 是在Delphi的背景下工作然后再用COM連接到網(wǎng)。Com的一個(gè)重要職能是分離接口和執(zhí)行. 一個(gè)接口定義了一些方法和性能,但不提供任何執(zhí)行. 一個(gè)CLASS由具有執(zhí)行代碼的成員組成. 成員可供對(duì)象實(shí)例從階級(jí)或接口提取. 一個(gè)COM對(duì)象,通過(guò)發(fā)布接口使其成員客戶(hù)端存在. 一個(gè)COM CLASS可實(shí)施任意數(shù)量的接口. C#中,VB.NET和Delphi中有一個(gè)非常自然的結(jié)構(gòu)規(guī)則。這個(gè)COM類(lèi)是firewatcher實(shí)行ifirewatcher和ifiledestroyer com接口. 在C++中,你需要用這種多重性接口的糟糕的機(jī)制來(lái)完成這一工作 ......
COM and COM events
At first sight creating COM clients and servers with .NET looks like a snap. As I recently found out implementing full COM event support has some quirks. Each of the major .NET languages has its own. When it comes to VB.NET it appears to be very hard (if not impossible) to dynamically attach or detach an event handling routine. When it comes to C# the only problem was in the end the documentation. In a comment savage mentions problems he has with responding to COM events from a Delphi client. In this post I'll run through some essential COM fundamentals and discuss how to use these to get COM interlope working with a focus on C# and Delphi. My background lies in Delphi,working with COM in Delphi brought me to .NET. An essential aspect of COM is the separation of interface and implementation. An interface defines a number of methods and properties but does not provide any implementation. A class has members with implementing code. Members are made available to objects instantiated from the class or in interfaces extracted from these objects. A COM object makes members available to COM clients by publishing interfaces. One COM class can ......
TA們正在看...
- 2011核安全工程師考試大綱.pdf
- 工程力學(xué)畢業(yè)論文.doc
- 單斜塔斜拉橋主塔提升受力分析.doc
- 核安全專(zhuān)業(yè)實(shí)務(wù)_模擬試題.doc
- 智能化建筑工程的成本控制及竣工審核.doc
- 工程招投標(biāo)管理——施工單位投標(biāo)管理.doc
- 注冊(cè)核安全工程師——筆記.doc
- 注冊(cè)核安全工程師考試專(zhuān)業(yè)實(shí)務(wù)題預(yù)測(cè).doc
- 產(chǎn)品協(xié)同設(shè)計(jì)中知識(shí)共享的激勵(lì)研究.doc
- 淺析我國(guó)私營(yíng)企業(yè)融資問(wèn)題.doc