Click here to Skip to main content
15,890,825 members
Home / Discussions / COM
   

COM

 
QuestionHow to support file versioning related issues Pin
Anonymous19-Apr-04 21:17
Anonymous19-Apr-04 21:17 
GeneralCOM and C# question Pin
User 96257819-Apr-04 10:29
User 96257819-Apr-04 10:29 
QuestionHow to minimize the size of ATLCOM Pin
Anonymous19-Apr-04 8:09
Anonymous19-Apr-04 8:09 
AnswerRe: How to minimize the size of ATLCOM Pin
Mike Dimmick19-Apr-04 8:51
Mike Dimmick19-Apr-04 8:51 
GeneralFull control difference Pin
Abhi Lahare18-Apr-04 20:16
Abhi Lahare18-Apr-04 20:16 
GeneralDetecting client path Pin
sumudu18-Apr-04 20:03
sumudu18-Apr-04 20:03 
GeneralGetting Started with Com+ Pin
Hemant Mane18-Apr-04 19:34
Hemant Mane18-Apr-04 19:34 
GeneralHelp getting started with MAPI Pin
PJ Arends18-Apr-04 8:56
professionalPJ Arends18-Apr-04 8:56 
I am a COM newbie, and I would like to use the MAPI address book in one of my apps.

According to the documentation I got, the function I want is IAddrBook::Address.

Now IAddrBook is declared as IAddrBook : IMapiProp which tells me it is derived from IMapiProp.

My question is how do I get an instance of IAddrBook into my MFC app so that i can use it?

The interface ID is IDD_IAddrBook and the pointer type is LPADRBOOK which are declared in in the file "MAPIX.h" which is all fine, but to use CoCreateInstance() to create an instance of IAddrBook I need a class ID. What is, or where do I find, the CLSID for IAddrBook. Or is there an other way to load an instance of IAddrBook?

Please do not point me to WABOPen as that function will return Internet Explorer's cutdown subset of MAPI's IAddrBook interface. I want to gain access to MAPI's full featured IAddrBook.

Also, if anyone can recommend some good books on COM basics for beginners, I would be greatful Big Grin | :-D

Thanks.







Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Help getting started with MAPI Pin
Prakash Nadar18-Apr-04 15:26
Prakash Nadar18-Apr-04 15:26 
GeneralRe: Help getting started with MAPI Pin
PJ Arends18-Apr-04 19:00
professionalPJ Arends18-Apr-04 19:00 
GeneralRe: Help getting started with MAPI Pin
Prakash Nadar18-Apr-04 21:04
Prakash Nadar18-Apr-04 21:04 
GeneralRe: Help getting started with MAPI Pin
Milton Karimbekallil19-Apr-04 20:59
Milton Karimbekallil19-Apr-04 20:59 
GeneralRe: Help getting started with MAPI Pin
PJ Arends19-Apr-04 21:34
professionalPJ Arends19-Apr-04 21:34 
GeneralCOM Pin
Poorniselva17-Apr-04 3:00
Poorniselva17-Apr-04 3:00 
GeneralRe: COM Pin
Balkrishna Talele18-Apr-04 21:36
Balkrishna Talele18-Apr-04 21:36 
GeneralRe: COM Pin
Balkrishna Talele18-Apr-04 21:39
Balkrishna Talele18-Apr-04 21:39 
GeneralAutomation: Array passing over IDispatch Pin
Takuan16-Apr-04 1:03
Takuan16-Apr-04 1:03 
GeneralRe: Automation: Array passing over IDispatch Pin
Takuan16-Apr-04 1:44
Takuan16-Apr-04 1:44 
GeneralWord Automation Pin
Dominic Godin16-Apr-04 1:00
Dominic Godin16-Apr-04 1:00 
GeneralActiveX Pin
Abhi Lahare15-Apr-04 22:51
Abhi Lahare15-Apr-04 22:51 
GeneralRe: ActiveX Pin
Balkrishna Talele18-Apr-04 21:44
Balkrishna Talele18-Apr-04 21:44 
GeneralOverriding Activex default actions Pin
Member 96421815-Apr-04 21:45
Member 96421815-Apr-04 21:45 
QuestionHow to convert OUT char* to OUT BSTR*? Pin
Anonymous15-Apr-04 12:34
Anonymous15-Apr-04 12:34 
AnswerRe: How to convert OUT char* to OUT BSTR*? Pin
Anonymous15-Apr-04 19:25
Anonymous15-Apr-04 19:25 
Generalwriting data to the opc server Pin
Anonymous15-Apr-04 1:23
Anonymous15-Apr-04 1:23 

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.