Click here to Skip to main content
15,915,702 members
Home / Discussions / COM
   

COM

 
AnswerRe: IE plugin on a .NET? Pin
Stephane Rodriguez.16-Jan-03 2:02
Stephane Rodriguez.16-Jan-03 2:02 
Generalautoactivate deskband Pin
Mårten14-Jan-03 9:25
Mårten14-Jan-03 9:25 
GeneralRe: autoactivate deskband Pin
Shaun Harrington11-Oct-06 4:02
Shaun Harrington11-Oct-06 4:02 
GeneralDCOM VB Active X Control in MFC fails but works when hosted in VB Pin
quannum13-Jan-03 23:23
quannum13-Jan-03 23:23 
GeneralLicense Control!!! Pin
akelasher13-Jan-03 11:49
akelasher13-Jan-03 11:49 
GeneralBest method for implementing IEnumXXXX Pin
Heath Stewart12-Jan-03 19:19
protectorHeath Stewart12-Jan-03 19:19 
GeneralDynamic COM Server Use Pin
Anonymous10-Jan-03 12:29
Anonymous10-Jan-03 12:29 
GeneralRe: Dynamic COM Server Use Pin
geo_m10-Jan-03 21:29
geo_m10-Jan-03 21:29 
Yes, that's very easy - after you discover the PROGID/CLSID of the required effect component, you can call CoCreateInstance, passing the CLSID and asking for IEffect interface. Then, if the interface is known to the object you want to create, you will get directly IEffect pointer for using.
Then one simple call of the IEffect::DoEffect() method and you can release the object (or save it for later use...)

Later on, when you will need to extend your effect modules by changing the method or its parameters, you have to develop new interface, say IEffect2. Then the steps will be the same as above, but after you will have the IEffect interface, you should use QueryInterface for retrieving the IEffect2. If this step fails, it is simply some old effect object, without new features support, so you will use the old IEffect::DoEffect() way of calling.

Is that you are asking for? (frankly, the last sentence
Anonymous wrote:
I guess the interface point can be derived easily enough from the PROGID/CLSID listed by component category...
wasn't quite clear to me)
GeneralRe: Dynamic COM Server Use Pin
Anonymous12-Jan-03 1:42
Anonymous12-Jan-03 1:42 
GeneralRe: Dynamic COM Server Use Pin
geo_m12-Jan-03 3:07
geo_m12-Jan-03 3:07 
GeneralRe: Dynamic COM Server Use Pin
thowra13-Jan-03 13:23
thowra13-Jan-03 13:23 
GeneralRe: Dynamic COM Server Use Pin
geo_m13-Jan-03 21:33
geo_m13-Jan-03 21:33 
GeneralRe: Dynamic COM Server Use Pin
thowra14-Jan-03 8:24
thowra14-Jan-03 8:24 
GeneralCOM Interface Name Clashes Pin
Anonymous10-Jan-03 7:08
Anonymous10-Jan-03 7:08 
GeneralRe: COM Interface Name Clashes Pin
geo_m10-Jan-03 21:51
geo_m10-Jan-03 21:51 
GeneralRe: COM Interface Name Clashes Pin
Anonymous12-Jan-03 1:12
Anonymous12-Jan-03 1:12 
GeneralRe: COM Interface Name Clashes Pin
geo_m12-Jan-03 3:19
geo_m12-Jan-03 3:19 
GeneralDear ERIK!!!!!!!!!!Please..... Pin
vcarivu10-Jan-03 0:53
vcarivu10-Jan-03 0:53 
GeneralPluging ActiveXContol in I.E toolbar-Pls help me Urgent Pin
vcarivu9-Jan-03 20:30
vcarivu9-Jan-03 20:30 
QuestionIs OLE object = to COM?? Pin
E_LISE_LI9-Jan-03 14:14
E_LISE_LI9-Jan-03 14:14 
AnswerRe: Is OLE object = to COM?? Pin
geo_m10-Jan-03 4:44
geo_m10-Jan-03 4:44 
GeneralSTL map of _variant_t Pin
[James Pullicino]5-Jan-03 21:58
[James Pullicino]5-Jan-03 21:58 
GeneralRe: STL map of _variant_t Pin
geo_m7-Jan-03 6:58
geo_m7-Jan-03 6:58 
GeneralAutomation Problem with ROT (Running Object Table) Pin
Alois Kraus3-Jan-03 5:57
Alois Kraus3-Jan-03 5:57 
GeneralMS exchange server - deleting attachments Pin
Ammad Amjad31-Dec-02 20:58
Ammad Amjad31-Dec-02 20:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.