Click here to Skip to main content
15,914,221 members
Home / Discussions / COM
   

COM

 
GeneralODBC, SQL Server, "FOR XML" & Cursors error Pin
zoltanie14-Oct-04 6:04
zoltanie14-Oct-04 6:04 
Questionexe com server problem? Pin
G.Richard13-Oct-04 21:12
G.Richard13-Oct-04 21:12 
AnswerRe: exe com server problem? Pin
User 21559714-Oct-04 19:44
User 21559714-Oct-04 19:44 
GeneralRe: exe com server problem? Pin
G.Richard14-Oct-04 20:49
G.Richard14-Oct-04 20:49 
GeneralRe: exe com server problem? Pin
Lim Bio Liong15-Oct-04 1:52
Lim Bio Liong15-Oct-04 1:52 
AnswerRe: exe com server problem? Pin
darkbyte11-Nov-04 10:34
darkbyte11-Nov-04 10:34 
GeneralSaving message using MAPI Pin
Madmaximus13-Oct-04 7:02
Madmaximus13-Oct-04 7:02 
GeneralDecode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
Eugene Homyakov13-Oct-04 6:26
Eugene Homyakov13-Oct-04 6:26 
GeneralRe: Decode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
Eugene Homyakov13-Oct-04 6:32
Eugene Homyakov13-Oct-04 6:32 
GeneralRe: Decode HRESULT from URLDownloadToFile() (e.g.0x800C0005) Pin
geo_m14-Oct-04 1:35
geo_m14-Oct-04 1:35 
Generallooking for help related to IPicture Pin
summerbwn13-Oct-04 0:52
summerbwn13-Oct-04 0:52 
GeneralRe: looking for help related to IPicture Pin
geo_m14-Oct-04 1:30
geo_m14-Oct-04 1:30 
GeneralRe: looking for help related to IPicture Pin
ThatsAlok15-Oct-04 4:13
ThatsAlok15-Oct-04 4:13 
GeneralSMTP email id Pin
Deepak Kumar Singh12-Oct-04 21:16
Deepak Kumar Singh12-Oct-04 21:16 
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 

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.