Click here to Skip to main content
15,906,628 members
Home / Discussions / COM
   

COM

 
GeneralRe: Problem using IStorage::CreateStream() Pin
ian mariano29-Oct-02 2:37
ian mariano29-Oct-02 2:37 
GeneralRe: Problem using IStorage::CreateStream() Pin
sajal5-Nov-02 3:24
sajal5-Nov-02 3:24 
QuestionHow to build CCommand from IRowset* Pin
Rohit27-Oct-02 20:18
Rohit27-Oct-02 20:18 
GeneralCOM freezed Pin
Ph@ntom25-Oct-02 21:05
Ph@ntom25-Oct-02 21:05 
GeneralDesign Question Pin
Simon Steele25-Oct-02 0:02
Simon Steele25-Oct-02 0:02 
GeneralRe: Design Question Pin
Daniel Turini25-Oct-02 0:17
Daniel Turini25-Oct-02 0:17 
GeneralRe: Design Question Pin
Simon Steele25-Oct-02 1:34
Simon Steele25-Oct-02 1:34 
GeneralRe: Design Question Pin
Stephane Rodriguez.25-Oct-02 0:29
Stephane Rodriguez.25-Oct-02 0:29 
Simon Steele wrote:
One of these services will need to communicate with the two others, and those two others will need to know about the first.

If each service is a COM object, then you'll have 3 idl files. Reusing idl file from one COM service into another is not an option since GUID, LIBID, CLSID, IID would be the same. It's sad MIDL is really limited when it comes to sharing idl interfaces, although you have the import and importlib statements.


Simon Steele wrote:
Thanks in advance for any advice or suggestions you can give me. I am trying to work my way through Essential COM while programming with ATL7 - something which doesn't exactly ease the process of getting into COM

I recommend to stay low-level. You'll get code skeletons from the book "Inside COM" MS PRESS, which I recommend. And this source code doesn't obfuscate at all what is done, unlike ATL.
ATL is fast for coming up with COM servers, but the learning curve is huge (in fact, you won't get your own ATL COM server running without actually hacking what ATL does, which requires huge time when you don't know it).

That said, I can't come up at the moment with a decent listing on CodeProject who would have just that, but beware of code filled with macros...







How low can you go ?
(MS rant)

GeneralRe: Design Question Pin
Simon Steele25-Oct-02 1:25
Simon Steele25-Oct-02 1:25 
GeneralRe: Design Question Pin
Stephane Rodriguez.25-Oct-02 1:36
Stephane Rodriguez.25-Oct-02 1:36 
GeneralRe: Design Question Pin
Len Holgate6-Nov-02 0:09
Len Holgate6-Nov-02 0:09 
GeneralFinding COM objects Pin
thowra24-Oct-02 10:29
thowra24-Oct-02 10:29 
GeneralRe: Finding COM objects Pin
Daniel Turini25-Oct-02 0:22
Daniel Turini25-Oct-02 0:22 
GeneralRe: Finding COM objects Pin
thowra31-Oct-02 4:33
thowra31-Oct-02 4:33 
Generalerror when doing invokehelper.. Pin
BK Pradeep24-Oct-02 1:15
BK Pradeep24-Oct-02 1:15 
Questionhow to pass a struct to com Pin
zwzcode23-Oct-02 22:22
zwzcode23-Oct-02 22:22 
AnswerRe: how to pass a struct to com Pin
Simon.W24-Oct-02 1:30
Simon.W24-Oct-02 1:30 
GeneralBSTR string as output parameter Pin
Huu Pham23-Oct-02 16:41
Huu Pham23-Oct-02 16:41 
GeneralRe: BSTR string as output parameter Pin
Steve S24-Oct-02 2:56
Steve S24-Oct-02 2:56 
GeneralMax Length of BSTR Pin
nativespirits23-Oct-02 10:43
nativespirits23-Oct-02 10:43 
GeneralRe: Max Length of BSTR Pin
Daniel Turini23-Oct-02 12:00
Daniel Turini23-Oct-02 12:00 
GeneralRe: Max Length of BSTR Pin
Todd Smith23-Oct-02 12:03
Todd Smith23-Oct-02 12:03 
GeneralRe: Max Length of BSTR Pin
Michael Dunn23-Oct-02 13:39
sitebuilderMichael Dunn23-Oct-02 13:39 
GeneralRe: Max Length of BSTR Pin
ian mariano28-Oct-02 4:16
ian mariano28-Oct-02 4:16 
GeneralActiveX Tutorial Pin
Daniel Strigl22-Oct-02 19:51
Daniel Strigl22-Oct-02 19:51 

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.