Instantiating Outlook 2003 Integration API

S

senthurs

Hi,

Does anyone have experience with or point me to some examples of the
IOlkAccountManager interface?

I know it has to be defined like,

class __declspec(uuid("ed475410-b0d6-11d2-8c3b-00104b2a6676"))
COlkAccountManager;
#define CLSID_OlkAccountManager __uuidof(COlkAccountManager)

interface __declspec(uuid("9240a6cd-af41-11d2-8c3b-00104b2a6676"))
IOlkAccountManager;
#define IID_IOlkAccountManager __uuidof(IOlkAccountManager)

But how to instantiate like the following - pIAcctManager cannot be
declared..?

::CoCreateInstance(CLSID_OlkAccountManager, 0, CLSCTX_INPROC_SERVER,
IID_IOlkAccountManager, (void**)&pIAcctManager);

and how to call like following - methods are not exposed..?

pIAcctManager->Init( pIAcctHelper, ACCT_INIT_NOSYNCH_MAPI_ACCTS );

None of the other methods are giving any values too...

Any help would greatly be appreciated.

Thanks & Regards
Zeni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top