Click here to Skip to main content
15,441,629 members
Home / Discussions / COM
   

COM

 
Questioncapture Event in ActiveX component Pin
pablogvivo28-Jul-14 4:28
Memberpablogvivo28-Jul-14 4:28 
Questionerror in an example of loading dll dynamically Pin
virusx198416-Jul-14 4:41
Membervirusx198416-Jul-14 4:41 
AnswerRe: error in an example of loading dll dynamically Pin
Richard MacCutchan16-Jul-14 5:49
mveRichard MacCutchan16-Jul-14 5:49 
QuestionHow to simulate click event on IHtmlObjectElement in C++? Pin
FoxBryant10-Jul-14 0:55
MemberFoxBryant10-Jul-14 0:55 
QuestionCOM using pure c++ Pin
Member 989964421-Jun-14 20:12
MemberMember 989964421-Jun-14 20:12 
AnswerRe: COM using pure c++ Pin
Derek Tortonian28-Jun-14 8:37
MemberDerek Tortonian28-Jun-14 8:37 
GeneralRe: COM using pure c++ Pin
Member 989964429-Jun-14 7:21
MemberMember 989964429-Jun-14 7:21 
GeneralRe: COM using pure c++ Pin
Derek Tortonian5-Aug-14 11:54
MemberDerek Tortonian5-Aug-14 11:54 
Member 9899644,
Sorry for not replying to your post, I completely forgot about it.
It sounds as though you are just learning about COM and it's associated functionality. This can be very difficult, because, typically, all you need to do is ignore one aspect of the creation and activation paradigm, and the whole thing just fails to operate as expected (and, you have no idea why).
When I was first trying to understand COM (syntax and the reasons it was designed in such a way), I found that reading Don Box's book: Essential COM was extremely helpful. You need an overview, and you need to understand why COM does what it does, and, to read some example source code.
As I recall, there are some excellent articles right here on the CodeProject about registering a COM server. Also, you don't mention how your COM client activates the object,...this is typically done with CoCreateInstance.
This is an excellent introductory series to COM: The COM Macro-Architecture Topology,
...and,...COM Macro Architecture Topology - Servers,
...and,...COM Macro Architecture Topology - Clients,
and,...COM IDs & Registry Keys in a Nutshell.
...Also, Michael Dunn has an excellent series on COM: Introduction to COM - What It Is and How to Use It., and,...
Introduction to COM Part II - Behind the Scenes of a COM Server
Several incredibly informative articles about COM are written by: Lim Bio Liong
Understanding The COM Single-Threaded Apartment Part 1,
...and,...Understanding The COM Single-Threaded Apartment Part 2
Jeff Glatt also has an excellent series: COM in plain C
COM in plain C, Part 2
COM in plain C, Part 3
COM in plain C, Part 4
COM in plain C, Part 5
COM in plain C, Part 6
COM in plain C, Part 7
...and, COM in plain C, part 8
In fact,...there is a HUGE list of CodeProject articles about COM: COM / COM+

modified 5-Aug-14 18:40pm.

QuestionCOMException, error code :80040154 Pin
orélle15-Jun-14 21:58
Memberorélle15-Jun-14 21:58 
AnswerRe: COMException, error code :80040154 Pin
Richard MacCutchan15-Jun-14 23:42
mveRichard MacCutchan15-Jun-14 23:42 
GeneralRe: COMException, error code :80040154 Pin
orélle16-Jun-14 23:15
Memberorélle16-Jun-14 23:15 
GeneralRe: COMException, error code :80040154 Pin
Richard MacCutchan16-Jun-14 23:21
mveRichard MacCutchan16-Jun-14 23:21 
GeneralRe: COMException, error code :80040154 Pin
orélle16-Jun-14 23:38
Memberorélle16-Jun-14 23:38 
GeneralRe: COMException, error code :80040154 Pin
Richard MacCutchan17-Jun-14 0:16
mveRichard MacCutchan17-Jun-14 0:16 
GeneralRe: COMException, error code :80040154 Pin
orélle17-Jun-14 3:12
Memberorélle17-Jun-14 3:12 
AnswerRe: COMException, error code :80040154 Pin
Anup Kasat9-Feb-15 2:12
MemberAnup Kasat9-Feb-15 2:12 
QuestionIFileSaveDialog / Filename using C++ Pin
jung-kreidler5-Jun-14 20:03
Memberjung-kreidler5-Jun-14 20:03 
SuggestionRe: IFileSaveDialog / Filename using C++ Pin
Richard MacCutchan5-Jun-14 22:23
mveRichard MacCutchan5-Jun-14 22:23 
GeneralRe: IFileSaveDialog / Filename using C++ Pin
jung-kreidler23-Jun-14 21:17
Memberjung-kreidler23-Jun-14 21:17 
QuestionHow to create a simple COM component in C++ Pin
CoRger5-Jun-14 1:07
MemberCoRger5-Jun-14 1:07 
AnswerRe: How to create a simple COM component in C++ Pin
Richard MacCutchan5-Jun-14 3:04
mveRichard MacCutchan5-Jun-14 3:04 
AnswerRe: How to create a simple COM component in C++ Pin
Member 989964421-Jun-14 20:19
MemberMember 989964421-Jun-14 20:19 
QuestionSetting up the COM+ Identity using C# Code Pin
Juan Topo19-May-14 8:50
MemberJuan Topo19-May-14 8:50 
QuestionHow do I set variable in ShockwaveFlashObjects C# Pin
Member 106494598-Mar-14 5:04
MemberMember 106494598-Mar-14 5:04 
QuestionVB6 to .Net Interop issue Pin
Sampath Sridhar1-Dec-13 22:10
MemberSampath Sridhar1-Dec-13 22:10 

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.