Hi Brad,

Just tell me one thing, can I execute any C program in the libmapi-
0.8-ROMULUS folder, or I can only execute the ones that are in the
/doc/examples/ directory. I'm able to compile the mapi_sample1.c program and
have taken capture of its output.

Tell me whether I can execute the mapi_sendmail.c in the /torture directory.
I've tried to compile it in the same way as for mapi_sample1.c, but it gives
error as:

$ gcc mapi_sendmail.c -o mapi_sendmail `pkg-config libmapi --cflags --libs`

mapi_sendmail.c:24:34: error: gen_ndr/ndr_exchange.h: No such file or
directory
mapi_sendmail.c:27:34: error: torture/mapi_torture.h: No such file or
directory
mapi_sendmail.c:29:35: error: torture/torture_proto.h: No such file or
directory
mapi_sendmail.c: In function ‘torture_rpc_mapi_sendmail’:
mapi_sendmail.c:64: warning: assignment makes pointer from integer without a
cast
mapi_sendmail.c:103: warning: assignment makes pointer from integer without
a cast
mapi_sendmail.c:104: warning: assignment makes pointer from integer without
a cast
mapi_sendmail.c:105: warning: assignment makes pointer from integer without
a cast
mapi_sendmail.c:106: warning: assignment makes pointer from integer without
a cast

Before execution PKG_CONFIG_PATH was set to :/usr/local/samba/lib/pkgconfig

Can I compile this program without an error ? If yes, kindly get me the
steps.

Regards,
Soumitra



On Fri, Aug 28, 2009 at 10:59 AM, Brad Hards <[email protected]> wrote:

> On Friday 28 August 2009 14:13:58 Soumitra Banerjee wrote:
> > I've basically installed the open change client in my Ubuntu machine and
> > trying to interact with MS Exchange Server 2007. During the course of
> > interaction, I even took captures of some of the scenarios. Well, I'm
> > basically doing a bit of reverse engg on MAPI, so I just want to edit
> those
> > open change programs an dexecute them to see the changes in my packet
> > capture files.
> You do understand that the format is documented? You can see the
> documentation
> on Microsoft's web site (look for Exchange in the Open Specifications part
> of
> the MSDN library).
>
> > Moreover, there are also some of the programs for which the exe file is
> not
> > present in the bin folder, so whether I'll be able to execute them ? I'm
> > planning to execute the doc/example/mapi_sample1.c file, is it possible,
> if
> > so, kindly give me the steps.
> If you have everything installed, you should be able to just build it from
> the
> Makefile in doc/examples/. If you have problems, check you have the
> PKG_CONFIG_PATH set correctly (see man page for pkgconfig), such that it
> can
> find the mapi libraries. If you still have trouble, please provide the
> results
> of your investigation, including cut-n-pasted error messages.
>
> Brad
>



-- 
Have a nice day...
Soumitra
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to