Click here to Skip to main content
15,891,529 members
Home / Discussions / COM
   

COM

 
Generalpassing a structure across DCOM Pin
Ravi Jadhav12-Oct-04 2:38
Ravi Jadhav12-Oct-04 2:38 
GeneralRe: passing a structure across DCOM Pin
Kurt Muellner12-Oct-04 21:43
Kurt Muellner12-Oct-04 21:43 
QuestionHow to fire an event within a thread in Vc++ Pin
Akshay Dave11-Oct-04 18:12
Akshay Dave11-Oct-04 18:12 
AnswerRe: How to fire an event within a thread in Vc++ Pin
Ravi Bhavnani13-Oct-04 6:46
professionalRavi Bhavnani13-Oct-04 6:46 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Akshay Dave13-Oct-04 19:17
Akshay Dave13-Oct-04 19:17 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Lim Bio Liong15-Oct-04 2:11
Lim Bio Liong15-Oct-04 2:11 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Akshay Dave15-Oct-04 20:31
Akshay Dave15-Oct-04 20:31 
GeneralRe: How to fire an event within a thread in Vc++ Pin
Lim Bio Liong16-Oct-04 18:52
Lim Bio Liong16-Oct-04 18:52 
Hello Akshay,

I'm preparing to write an article on event firing and event handling in threads. Please be patient with me on this Smile | :) However, for now, I -can- recommend to you some pointers and a reference to a good book on this subject.

The book's name is :

The Essense of COM with ActiveX (A Programmer's Workbook).

The author is David S. Platt.

Get a latest edition of this book. It is excellent. It presents COM subjects as a series of tutorials which are simple to follow.

Some pointers on event firing :

1. Events are essentially "outgoing" interfaces. They are methods of an interface which is not implemented by the COM Object itself but rather, by the -client- of the COM Object.

2. COM Objects which implement events must expose 2 additional interfaces from their COM object :

2.1 Connection Point Container.

2.2 Connection Point.

Please read up more on this in MSDN or in David Platt's book.

3. If you intend to fire your events inside a separate thread, you must marshall your client's event handler functions to this separate thread.


Hope the above helps, Akshay,
Bio.



QuestionUsing Text Object Model for RichEdit manipulation? Pin
Jonathan Lee Brown11-Oct-04 12:37
Jonathan Lee Brown11-Oct-04 12:37 
GeneralRDO data binding works if set up at design time but not in code Pin
Yuqing Zhu10-Oct-04 17:37
Yuqing Zhu10-Oct-04 17:37 
Questionbar code coding using serial port? Pin
unambiguos8-Oct-04 19:01
unambiguos8-Oct-04 19:01 
GeneralCom basics Pin
Rajesh.J8-Oct-04 18:51
Rajesh.J8-Oct-04 18:51 
GeneralRe: Com basics Pin
User 21559710-Oct-04 19:30
User 21559710-Oct-04 19:30 
GeneralDevelop an IE plugin Pin
Asad Hussain8-Oct-04 9:20
Asad Hussain8-Oct-04 9:20 
GeneralRe: Develop an IE plugin Pin
Kurt Muellner12-Oct-04 22:20
Kurt Muellner12-Oct-04 22:20 
QuestionEnsuring an Excel app quits? Pin
Jeremy Ouellette7-Oct-04 12:27
Jeremy Ouellette7-Oct-04 12:27 
AnswerRe: Ensuring an Excel app quits? Pin
Jörgen Sigvardsson7-Oct-04 13:29
Jörgen Sigvardsson7-Oct-04 13:29 
GeneralRe: Ensuring an Excel app quits? Pin
Anonymous7-Oct-04 14:31
Anonymous7-Oct-04 14:31 
GeneralRe: Ensuring an Excel app quits? Pin
Jörgen Sigvardsson7-Oct-04 22:07
Jörgen Sigvardsson7-Oct-04 22:07 
GeneralRe: Ensuring an Excel app quits? Pin
Michael P Butler8-Oct-04 5:47
Michael P Butler8-Oct-04 5:47 
GeneralRe: Ensuring an Excel app quits? Pin
Jeremy Ouellette8-Oct-04 14:25
Jeremy Ouellette8-Oct-04 14:25 
GeneralPassing structs/classes from any language client. Pin
sergeyv20026-Oct-04 9:46
sergeyv20026-Oct-04 9:46 
GeneralRe: Passing structs/classes from any language client. Pin
Jörgen Sigvardsson7-Oct-04 13:17
Jörgen Sigvardsson7-Oct-04 13:17 
GeneralRe: Passing structs/classes from any language client. Pin
sergeyv20028-Oct-04 8:36
sergeyv20028-Oct-04 8:36 
Generalpassing struct to COM objects Pin
merlinos4-Oct-04 10:21
merlinos4-Oct-04 10:21 

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.