Thread View: borland.public.cppbuilder.nativeapi
4 messages
4 total messages
Started by PaulS
Mon, 06 Nov 2006 19:21
Unresolved Linker Errors with MAPI
Author: PaulS
Date: Mon, 06 Nov 2006 19:21
Date: Mon, 06 Nov 2006 19:21
5 lines
1009 bytes
1009 bytes
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
Re: Unresolved Linker Errors with MAPI
Author: PaulS
Date: Mon, 06 Nov 2006 19:50
Date: Mon, 06 Nov 2006 19:50
11 lines
1356 bytes
1356 bytes
Bob Gonder <notbg@notmindspring.invalid> wrote: >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 . . .
Re: Unresolved Linker Errors with MAPI
Author: Bob Gonder
Date: Mon, 06 Nov 2006 20:34
Date: Mon, 06 Nov 2006 20:34
5 lines
1235 bytes
1235 bytes
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.
Re: Unresolved Linker Errors with MAPI
Author: Remy Lebeau (TeamB)
Date: Mon, 06 Nov 2006 21:25
Date: Mon, 06 Nov 2006 21:25
11 lines
1236 bytes
1236 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:r17vk21nvmd562k262is62eau3hfgtqpi1@4ax.com... > 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads