Click here to Skip to main content
15,915,800 members
Home / Discussions / COM
   

COM

 
GeneralOutlook Express add-in Pin
dorutzu28-Mar-04 9:17
dorutzu28-Mar-04 9:17 
GeneralRe: Outlook Express add-in Pin
Stephane Rodriguez.28-Mar-04 9:51
Stephane Rodriguez.28-Mar-04 9:51 
GeneralRe: Outlook Express add-in Pin
dorutzu28-Mar-04 10:04
dorutzu28-Mar-04 10:04 
GeneralRe: Outlook Express add-in Pin
FearlessBurner30-Mar-04 1:41
FearlessBurner30-Mar-04 1:41 
GeneralRe: Outlook Express add-in Pin
dorutzu30-Mar-04 1:51
dorutzu30-Mar-04 1:51 
GeneralCOM Object VS Interface Pin
alex.barylski26-Mar-04 10:47
alex.barylski26-Mar-04 10:47 
GeneralRe: COM Object VS Interface Pin
Rory Solley28-Mar-04 20:09
Rory Solley28-Mar-04 20:09 
GeneralRe: COM Object VS Interface Pin
Jörgen Sigvardsson29-Mar-04 4:06
Jörgen Sigvardsson29-Mar-04 4:06 
Hockey wrote:
What is the difference between objects and interfaces in COM...?

Interfaces must always adhere to a binary layout, while objects don't. When developing COM classes in C++, the objects will be laid out just like ordinary C++ objects in memory. In VB - who knows? This is why interfaces are the lingo of COM - it serves as a protocol to communicate with objects.

Interfaces also allow for advanced proxying. If you can wire the vtable so that proxy functions are called instead of the virtual methods, then you can add things like network transparency, apartment marshalling, etc, without having to require too much of a burden of the caller!


So the crude answer to your question would be; an object is a binary blob of data, and an interface is a structured and well formed table of function pointers, which points to functions which know how to manipulate the binary blob of data in a meaningful way. In C++ this distinction is not very obvious.

--
Din mamma.
GeneralIntriguing,help me out plz. Pin
Naga the bug fixer26-Mar-04 6:20
Naga the bug fixer26-Mar-04 6:20 
GeneralRe: Intriguing,help me out plz. Pin
Milton Karimbekallil28-Mar-04 23:13
Milton Karimbekallil28-Mar-04 23:13 
GeneralActiveX newbie looking for a starting point... Pin
cjlambre25-Mar-04 3:37
cjlambre25-Mar-04 3:37 
GeneralRe: ActiveX newbie looking for a starting point... Pin
ian mariano25-Mar-04 10:12
ian mariano25-Mar-04 10:12 
GeneralIStorage Pin
Phil J Pearson24-Mar-04 22:33
Phil J Pearson24-Mar-04 22:33 
GeneralRe: IStorage Pin
Nick Parker25-Mar-04 3:13
protectorNick Parker25-Mar-04 3:13 
GeneralRe: IStorage Pin
Phil J Pearson25-Mar-04 5:01
Phil J Pearson25-Mar-04 5:01 
GeneralRe: IStorage Pin
Nick Parker25-Mar-04 6:03
protectorNick Parker25-Mar-04 6:03 
GeneralCHtmlView Pin
alex.barylski24-Mar-04 22:09
alex.barylski24-Mar-04 22:09 
GeneralRe: CHtmlView Pin
Rob Manderson24-Mar-04 22:32
protectorRob Manderson24-Mar-04 22:32 
GeneralRe: CHtmlView Pin
alex.barylski25-Mar-04 0:11
alex.barylski25-Mar-04 0:11 
GeneralRe: CHtmlView Pin
Rob Manderson25-Mar-04 8:40
protectorRob Manderson25-Mar-04 8:40 
GeneralRe: CHtmlView Pin
alex.barylski25-Mar-04 12:06
alex.barylski25-Mar-04 12:06 
GeneralRe: CHtmlView Pin
Rob Manderson25-Mar-04 12:27
protectorRob Manderson25-Mar-04 12:27 
GeneralRe: CHtmlView Pin
alex.barylski25-Mar-04 13:00
alex.barylski25-Mar-04 13:00 
GeneralRe: CHtmlView Pin
Rob Manderson25-Mar-04 13:14
protectorRob Manderson25-Mar-04 13:14 
GeneralRe: CHtmlView Pin
alex.barylski25-Mar-04 15:27
alex.barylski25-Mar-04 15:27 

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.