Article View: borland.public.cppbuilder.nativeapi
Article #12424Re: Can't use MAPILogonEx
From: Dennis Jones
Date: Wed, 03 Dec 2003 21:24
Date: Wed, 03 Dec 2003 21:24
30 lines
2277 bytes
2277 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message news:fdgssvgi495ler9vqg533p0le3uds27ec5@4ax.com... > Dennis Jones wrote: > > >I think you've misunderstood...I was referring to compiler errors, not > >linker errors. > > Ok, was shooting in the dark as no one ever mentioned what the error > messages were, or whether they were compiler or linker errors. Just > "It doesn't work" > > So, what error messages _do_ you get? Well, the OP said he got "an error complaining that the function isn't defined anywhere", and then refers to the mapi.hpp header file in which he expected to find the function prototype, which suggested a compiler error. So, when I tried to duplicate his problem, I got, "Call to undefined function "MapiLogOnEx'", but then I realized that I was using the wrong case. So, I changed it to "MAPILogonEx" *and* #include'd mapix.h, and now I get conversion errors because MAPILogonEx takes an "LPMAPISESSION" and Borland's version of MAPILogon takes an "unsigned *". This suggests that Fernando just needed to include "mapix.h" to get past the error he was getting (because MAPILogonEx is not defined in the Borland header, "mapi.hpp"). - Dennis
Technical Details
Message-ID:
<3fce54a1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<imbpsvssig4cvsqge6v4q0cnnp9vghq8aa@4ax.com> <t3ipsvo8hk1g4rbgdajj6mv08733vi27qe@4ax.com> <3fcccdb1$3@newsgroups.borland.com> <57cqsv0oufvcav13m7c9b9v06dgn7e6cps@4ax.com> <3fcd3ddb$1@newsgroups.borland.com> <fdgssvgi495ler9vqg533p0le3uds27ec5@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,cb65823e8ed3a9bb X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-12-03 13:40:24 PST From: "Dennis Jones" <djones@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <imbpsvssig4cvsqge6v4q0cnnp9vghq8aa@4ax.com> <t3ipsvo8hk1g4rbgdajj6mv08733vi27qe@4ax.com> <3fcccdb1$3@newsgroups.borland.com> <57cqsv0oufvcav13m7c9b9v06dgn7e6cps@4ax.com> <3fcd3ddb$1@newsgroups.borland.com> <fdgssvgi495ler9vqg533p0le3uds27ec5@4ax.com> Subject: Re: Can't use MAPILogonEx Date: Wed, 3 Dec 2003 13:24:50 -0800 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 204.200.27.7 Message-ID: <3fce54a1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1070486689 204.200.27.7 (3 Dec 2003 13:24:49 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail