Click here to Skip to main content
16,004,901 members
Home / Discussions / COM
   

COM

 
General.Net/COM+ Pin
Member 131282211-Dec-04 22:29
Member 131282211-Dec-04 22:29 
GeneralSerial Comms programming in Linux Pin
jcwh11-Dec-04 2:55
jcwh11-Dec-04 2:55 
GeneralRe: Serial Comms programming in Linux Pin
ThatsAlok12-Dec-04 20:06
ThatsAlok12-Dec-04 20:06 
GeneralCOM newbie needs help to write a simple C++ client for COM events! Pin
littlecuttiepie8-Dec-04 14:11
littlecuttiepie8-Dec-04 14:11 
GeneralRe: COM newbie needs help to write a simple C++ client for COM events! Pin
Lim Bio Liong8-Dec-04 20:03
Lim Bio Liong8-Dec-04 20:03 
GeneralRe: COM newbie needs help to write a simple C++ client for COM events! Pin
Lim Bio Liong9-Dec-04 0:32
Lim Bio Liong9-Dec-04 0:32 
GeneralRe: COM newbie needs help to write a simple C++ client for COM events! Pin
littlecuttiepie9-Dec-04 7:36
littlecuttiepie9-Dec-04 7:36 
GeneralRe: COM newbie needs help to write a simple C++ client for COM events! Pin
Lim Bio Liong9-Dec-04 15:35
Lim Bio Liong9-Dec-04 15:35 
Hello littlecuttiepie,

>> I need to write a straight C++ client, not COM.
I understand your situation. I believe that what you are trying to say is that your client application is not an ATL-generated. The example code that I'll be sending to you is not ATL-generated. However, you -will- need to add some basic COM code into your client app (e.g. CoInitialize() and CoUnititalize(), and, depending on whether you used #import, you may need to either use smart pointers or use CoCreateInstance()).

>> I saw books talking about using sink object for the client, but not very sure how to write it, Do you know how to do that?
Yes, the sample code that I'm sending you contains an actual implementation of a sink object.

I'm currently writing a CodeProject article based on the sample code. Watch out for it as it will contain the documentation for my code.

Best Regards,
Bio.

GeneralRe: COM newbie needs help to write a simple C++ client for COM events! Pin
Lim Bio Liong9-Dec-04 22:37
Lim Bio Liong9-Dec-04 22:37 
QuestionProduct to Create COM Wrapper for C Win32 DLL? Pin
RichB8-Dec-04 11:14
RichB8-Dec-04 11:14 
Generalcom addin for ms project Pin
vcpgmr7-Dec-04 16:37
vcpgmr7-Dec-04 16:37 
QuestionCan COM interface functions be overloaded? Pin
tpndtbk7-Dec-04 0:53
tpndtbk7-Dec-04 0:53 
AnswerRe: Can COM interface functions be overloaded? Pin
ThatsAlok7-Dec-04 17:28
ThatsAlok7-Dec-04 17:28 
AnswerRe: Can COM interface functions be overloaded? Pin
Andy Hunter15-Dec-04 14:51
Andy Hunter15-Dec-04 14:51 
GeneralRe: Can COM interface functions be overloaded? Pin
Andy Hunter19-Dec-04 15:57
Andy Hunter19-Dec-04 15:57 
Generalproblem in CoCreateInstance() Pin
biswaranjan_rath6-Dec-04 21:18
biswaranjan_rath6-Dec-04 21:18 
GeneralRe: problem in CoCreateInstance() Pin
RChin7-Dec-04 1:20
RChin7-Dec-04 1:20 
GeneralRe: problem in CoCreateInstance() Pin
biswaranjan_rath7-Dec-04 1:28
biswaranjan_rath7-Dec-04 1:28 
GeneralRe: problem in CoCreateInstance() Pin
RChin7-Dec-04 1:33
RChin7-Dec-04 1:33 
GeneralRe: problem in CoCreateInstance() Pin
biswaranjan_rath7-Dec-04 17:27
biswaranjan_rath7-Dec-04 17:27 
GeneralRe: problem in CoCreateInstance() Pin
ThatsAlok7-Dec-04 17:58
ThatsAlok7-Dec-04 17:58 
GeneralCOM programming Pin
Andy Hunter6-Dec-04 6:08
Andy Hunter6-Dec-04 6:08 
GeneralRe: COM programming Pin
User 2155978-Dec-04 4:17
User 2155978-Dec-04 4:17 
GeneralRe: COM programming Pin
Andy Hunter8-Dec-04 10:11
Andy Hunter8-Dec-04 10:11 
QuestionHow to change name of coclass ? Pin
arun14056-Dec-04 2:02
arun14056-Dec-04 2:02 

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.