Click here to Skip to main content
16,005,149 members
Home / Discussions / COM
   

COM

 
GeneralRe: MIDL compile problem Pin
alma14-Aug-02 7:03
alma14-Aug-02 7:03 
QuestionActivating IE proxy settings...? Pin
Tommy Svensson14-Aug-02 0:53
Tommy Svensson14-Aug-02 0:53 
AnswerRe: Activating IE proxy settings...? Pin
Daniel Turini14-Aug-02 4:58
Daniel Turini14-Aug-02 4:58 
AnswerRe: Activating IE proxy settings...? Pin
Tommy Svensson14-Aug-02 21:59
Tommy Svensson14-Aug-02 21:59 
QuestionHow can I pass a string from ActiveX to Javascript Pin
codeminder13-Aug-02 4:13
codeminder13-Aug-02 4:13 
AnswerRe: How can I pass a string from ActiveX to Javascript Pin
Ernest Laurentin13-Aug-02 16:31
Ernest Laurentin13-Aug-02 16:31 
GeneralRe: How can I pass a string from ActiveX to Javascript Pin
codeminder13-Aug-02 20:11
codeminder13-Aug-02 20:11 
QuestionAnybody has any example of automating folders/contacts in outlook??? Pin
LukeV13-Aug-02 2:20
LukeV13-Aug-02 2:20 
I can't seem to find any example learn how to retreive contacts from Outlook. Or if found any it's in VB Dead | X|

I'm also a bit rusty in COM, so what do I need to do when a function returns an IDispatch pointer? I'm sure that I need to cast the pointer, otherwise what would the IDispatch be use for?

Like in this example:

vIndex.intVal = 2;
pFolders->Item( vIndex, &pMAPIFolder );
pMAPIFolder->get_Name( &bstr1 );

Outlook::_ContactItem* pItem;

if( pMAPIFolder->get_Items( &pItems ) )
{
long i=1;

IDispatch* pItem;
pItems->GetFirst( &pItem );

}

Thanks!

---------------
http://www.edovia.com
AnswerRe: Anybody has any example of automating folders/contacts in outlook??? Pin
LukeV13-Aug-02 2:58
LukeV13-Aug-02 2:58 
QuestionCOM API ???? Pin
Ayyaz10-Aug-02 0:48
Ayyaz10-Aug-02 0:48 
AnswerRe: COM API ???? Pin
Giles10-Aug-02 2:03
Giles10-Aug-02 2:03 
AnswerRe: COM API ???? Pin
Anonymous14-Aug-02 7:32
Anonymous14-Aug-02 7:32 
Generalvector of smart pointers Pin
Jeremy Pullicino8-Aug-02 21:48
Jeremy Pullicino8-Aug-02 21:48 
GeneralRe: vector of smart pointers Pin
NormDroid10-Aug-02 0:56
professionalNormDroid10-Aug-02 0:56 
GeneralRe: vector of smart pointers Pin
Paul M Watt15-Aug-02 20:11
mentorPaul M Watt15-Aug-02 20:11 
GeneralIShellView without creating a namespace Pin
Jonatan Dahl8-Aug-02 15:24
Jonatan Dahl8-Aug-02 15:24 
Generaltype mismatch Pin
Lily188-Aug-02 4:06
Lily188-Aug-02 4:06 
GeneralRe: type mismatch Pin
Anonymous15-Aug-02 17:02
Anonymous15-Aug-02 17:02 
GeneralIContextMenu copy in app to Explorer Pin
Null_Vector7-Aug-02 14:26
Null_Vector7-Aug-02 14:26 
GeneralRe: IContextMenu copy in app to Explorer Pin
Null_Vector9-Aug-02 0:24
Null_Vector9-Aug-02 0:24 
Generalneed help for CoInitializeEx(..) Pin
Jawid7-Aug-02 5:23
Jawid7-Aug-02 5:23 
GeneralRe: need help for CoInitializeEx(..) Pin
Mark Janveaux7-Aug-02 13:03
Mark Janveaux7-Aug-02 13:03 
GeneralPassing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 10:36
HawkSoftware6-Aug-02 10:36 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 13:01
Mark Janveaux6-Aug-02 13:01 
GeneralRe: Passing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 15:46
HawkSoftware6-Aug-02 15:46 

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.