如何创建COM+程序 |
尚未結案
|
xu_caishen
一般會員 發表:6 回覆:20 積分:5 註冊:2005-04-15 發送簡訊給我 |
|
xu_caishen
一般會員 發表:6 回覆:20 積分:5 註冊:2005-04-15 發送簡訊給我 |
|
sryang
尊榮會員 發表:39 回覆:762 積分:920 註冊:2002-06-27 發送簡訊給我 |
按個 Help 按鈕就有了,英文自己看吧,可別叫我幫你中譯 COM Object
Create a new COM object to implement a registered interface or a new interface that descends from IUnknown. The COM Object wizard allows you to specify the properties of a new COM server. COM Event Object
Create a new COM event object to dispatch server events to all registered clients. The COM Event Object wizard adds a COM event object to an existing event object project or starts a new event object project for the object. After the wizard generates the event object, use the Type Library editor to define its interface. COM Subscription Object
Create a COM event subscriber component using the COM Subscription Object wizard. You use this with a COM Event Object to receive notification of events fired by COM publisher applications. Transactional Object
Create a new Automation object that takes advantage of the distributed application services supplied by MTS or COM . The Transactional object wizard lets you specify the desired transaction model. After the wizard exits, use the Type Library editor to define the interface the object exposes to clients. If the object is to be installed under COM , use the COM page of the Type Library editor to specify the options to use when installing it into a COM application. 加油喔,喵~
------
歡迎參訪 "腦殘賤貓的備忘錄" http://maolaoda.blogspot.com/ |
xu_caishen
一般會員 發表:6 回覆:20 積分:5 註冊:2005-04-15 發送簡訊給我 |
|
xu_caishen
一般會員 發表:6 回覆:20 積分:5 註冊:2005-04-15 發送簡訊給我 |
引言: 各位老大,请教一下关于如何创建COM 程序的问题。 我打开Delphi程序,创建ActiveX Libarary之后。接下来想创建COM 程序。 其中的选择项目有:Com Object,Com Event Object,Com Subscriptio Object,Transactional Object几个项目,应该选择哪一个来创建COM 程序呢? 另外,请帮小弟区别一下这几个选项。 谢谢!搞了很久,終於有一點眉目,跟大家分享一下。 創建COM ,可以使用Com Object,Transactional Object或者Multitier標簽頁中的Transactional Data Module來創建。但是Com Object創建的是沒有事務的COM/COM 程式,而另外兩個是具有事務的COM 服務組件。而Transactional Data Module創建的可以MTS/COM . 此問題就此結案了。 |
Ktop_Robot
站務副站長 發表:0 回覆:3511 積分:0 註冊:2007-04-17 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |