On Tue, Sep 11, 2007 at 03:14:56AM +0930, Dan Shearer wrote:

> A first version of OC on Windows using Cygwin is looking promising.
> Cygwin is not the solution we need, but it is a good first step allowing
> (for example) testing with potential clashes with Windows networking.

The second step is to move to MSYS, http://www.mingw.org ,
which uses the MinGW port of gcc. Libraries built with MinGW are Windows
DLLs which can be called by Micrsoft Visual C code because MinGW will
also generate the .def mapping file required.

There is an example of this in the FAQ,
http://www.mingw.org/mingwfaq.shtml#faq-msvcdll .

The final (and very nice) bit is that if the Samba build environment is
too stressful for MSYS you can run MinGW from within the Cygwin
environment, which from my work this afternoon seems very likely to do
what we need.

So, in summary, it looks at this stage feasible that someone can link
Windows-only code against libmapi on Windows. We will see over the next
few days if "feasible" means "acceptable" :-)

Unknowns:

   * 64-bit Windows, although MinGW does support 64-bit.

   * I have no idea how to do this from non-C languages, such as Visual
     Basic. Some of the GPL MAPI code I have been looking at has been
     in Visual Basic, in fact none of it has been in C :-)

-- 
Dan Shearer
[EMAIL PROTECTED]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to