By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,908 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Importing a address book into IE

P: n/a
Hiya,
I have a application that uses win32 MAPI to extract contact information.
When I compile I need to link it to MS Mapi 32 API.
However when I configure, I linked a free mapi 32 lib because I didn't
have microsoft compiler. If I recall correctly the syntax of casting return
value is a little different.
***************************************

rc = (*mapiaddr)(0L, 0L,
"Add to Vanquish Allow List. (Press Cancel to abort, use
the Shift key to select multiple addresses.)",
1L, "Add to Allow List", 0L, NULL,
MAPI_LOGON_UI | MAPI_NEW_SESSION, 0L,
&lpnNewRecips, &lppNewRecips);
**************************************

I need to make a call to make a window show up so that one can select
addresses.
later in a loop

temp = env->NewStringUTF(lppNewRecips[i].lpszAddress);

sets the address so that java can retrive it.

Any help/direction would be wicked appreciated

Cheers!
Suzanne
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Suzanne,
Unless I am missing something, this should have been posted
to the C++ newsgroup ?

Regards - OHM

Suzanne wrote:
Hiya,
I have a application that uses win32 MAPI to extract contact
information. When I compile I need to link it to MS Mapi 32 API.
However when I configure, I linked a free mapi 32 lib because I didn't
have microsoft compiler. If I recall correctly the syntax of casting
return value is a little different.
***************************************

rc = (*mapiaddr)(0L, 0L,
"Add to Vanquish Allow List. (Press Cancel to
abort, use the Shift key to select multiple addresses.)",
1L, "Add to Allow List", 0L, NULL,
MAPI_LOGON_UI | MAPI_NEW_SESSION, 0L,
&lpnNewRecips, &lppNewRecips);
**************************************

I need to make a call to make a window show up so that one can select
addresses.
later in a loop

temp = env->NewStringUTF(lppNewRecips[i].lpszAddress);

sets the address so that java can retrive it.

Any help/direction would be wicked appreciated

Cheers!
Suzanne


--
Best Regards - OHM

O_H_M{at}BTInternet{dot}com
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.