BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unresolved Linker Errors with MAPI

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
PaulS
Guest





PostPosted: Tue Nov 07, 2006 1:21 am    Post subject: Unresolved Linker Errors with MAPI Reply with quote



I have coded some routines in C++ Builder 2006 that call the MAPI functions in mapi.h. The code compiles, but when I try to build it, I get "Unresolved Linker Errors" for the function names, such as MAPISendmail and MAPIResolveName. Any ideas why?

Thanks,
Paul
Back to top
PaulS
Guest





PostPosted: Tue Nov 07, 2006 1:50 am    Post subject: Re: Unresolved Linker Errors with MAPI Reply with quote



Bob Gonder <notbg (AT) notmindspring (DOT) invalid> wrote:
Quote:
PaulS wrote:

I have coded some routines in C++ Builder 2006 that call the MAPI functions in mapi.h. The code compiles, but when I try to build it, I get "Unresolved Linker Errors" for the function names, such as MAPISendmail and MAPIResolveName. Any ideas why?

You probably didn't add mapi.lib to your project.


I can't locate a mapi.lib file in the LIB directory.

Would it be hiding elsewhere? It must be Monday . . .
Back to top
Bob Gonder
Guest





PostPosted: Tue Nov 07, 2006 2:34 am    Post subject: Re: Unresolved Linker Errors with MAPI Reply with quote



PaulS wrote:

Quote:
I have coded some routines in C++ Builder 2006 that call the MAPI functions in mapi.h. The code compiles, but when I try to build it, I get "Unresolved Linker Errors" for the function names, such as MAPISendmail and MAPIResolveName. Any ideas why?

You probably didn't add mapi.lib to your project.
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Nov 07, 2006 3:25 am    Post subject: Re: Unresolved Linker Errors with MAPI Reply with quote

"Bob Gonder" <notbg (AT) notmindspring (DOT) invalid> wrote in message
news:r17vk21nvmd562k262is62eau3hfgtqpi1 (AT) 4ax (DOT) com...

Quote:
You probably didn't add mapi.lib to your project.

There is no mapi.lib file. You will have to create your own by running
mapi.dll through Borland's implib.exe utility.


Gambit
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.