| View previous topic :: View next topic |
| Author |
Message |
PaulS Guest
|
Posted: Tue Nov 07, 2006 1:21 am Post subject: Unresolved Linker Errors with MAPI |
|
|
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
|
Posted: Tue Nov 07, 2006 1:50 am Post subject: Re: Unresolved Linker Errors with MAPI |
|
|
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
|
Posted: Tue Nov 07, 2006 2:34 am Post subject: Re: Unresolved Linker Errors with MAPI |
|
|
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
|
Posted: Tue Nov 07, 2006 3:25 am Post subject: Re: Unresolved Linker Errors with MAPI |
|
|
"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 |
|
 |
|