<font size=2 face="sans-serif">Ah, I see! &nbsp;Excellent.</font>
<br>
<br><font size=2 face="sans-serif">The binaries only include static libraries,
but I imagine I will be able to compile against those libraries to produce
a dynamic one. &nbsp;Thank you, Haroldo.</font>
<br>
<br><font size=2 face="sans-serif">We would still love to hear from anyone
who has successfully done something similar. &nbsp;Surely we can't be the
first to try this?</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Haroldo Gambini Santos &lt;haroldo.santos@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">acw@ascent.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">cbc@list.coin-or.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">06/11/2012 01:42 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [Cbc] Porting JNI-based Cbc app
to Windows</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>The EXE is an installer. Please look at the installed
files (not sure if a DLL is available, but at least an static library for
windows is).<br>
<br>
On 11-06-2012 14:29, </font><a href=mailto:acw@ascent.com><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>
wrote:</font>
<br><font size=2 face="sans-serif">Thank you so much for your prompt response.</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
In your summary list below, it looks like what is being provided is a direct
binary executable. &nbsp; Unfortunately, in order to interface with JNI,
we need a Windows shared library, that is, a DLL file, not an EXE file.
&nbsp;Is this provided in the Windows binary distribution?</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Thanks again.</font><font size=3> <br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=14%><font size=1 color=#5f5f5f face="sans-serif">From:</font><font size=3>
</font>
<td width=85%><font size=1 face="sans-serif">Haroldo Gambini Santos </font><a href=mailto:haroldo.santos@gmail.com><font size=1 color=blue face="sans-serif"><u>&lt;haroldo.santos@gmail.com&gt;</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font><font size=3>
</font>
<td><a href="mailto:cbc@list.coin-or.org"><font size=1 color=blue face="sans-serif"><u>cbc@list.coin-or.org</u></font></a><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">06/11/2012 12:57 PM</font><font size=3>
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><font size=3>
</font>
<td><font size=1 face="sans-serif">Re: [Cbc] Porting JNI-based Cbc app
to Windows</font></table>
<br><font size=3><br>
</font>
<hr noshade><font size=3><br>
<br>
<br>
Hi,<br>
<br>
I think that the CoinBinary project has much of what you want:</font><font size=3 color=blue><u><br>
<br>
</u></font><a href="https://projects.coin-or.org/CoinBinary"><font size=3 color=blue><u>https://projects.coin-or.org/CoinBinary</u></font></a><font size=3><br>
<br>
They have numerous coin-or project (including cbc in CoinAll) compiled
in various compilers.<br>
<br>
I would recommend to download coinall:</font><font size=3 color=blue><u><br>
</u></font><a href="http://www.coin-or.org/download/binary/CoinAll/"><font size=3 color=blue><u>http://www.coin-or.org/download/binary/CoinAll/</u></font></a>
<table>
<tr>
<td valign=top><img src=cid:_1_07B08B8C07B0878C0062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.exe"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.exe</u></font></a><font size=3>
</font>
<td>
<div align=right><font size=3>22-Feb-2012 10:40 </font></div>
<td>
<div align=right><font size=3>45M</font></div>
<td><font size=3>&nbsp; </font>
<tr>
<td valign=top><img src=cid:_1_07B0A38807B09FB40062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.tar.gz"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.tar.gz</u></font></a><font size=3>
</font>
<td>
<div align=right><font size=3>22-Feb-2012 10:40 </font></div>
<td>
<div align=right><font size=3>20M</font></div>
<td><font size=3>&nbsp; </font>
<tr>
<td valign=top><img src=cid:_1_07B0B9D407B0B6000062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.zip"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-cygwin-gcc4.3.4.zip</u></font></a><font size=3>
</font>
<td>
<div align=right><font size=3>22-Feb-2012 10:40 </font></div>
<td>
<div align=right><font size=3>43M</font></div>
<td><font size=3>&nbsp; </font>
<tr>
<td valign=top><img src=cid:_1_07B0CFF407B0CC200062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-mingw-gcc4.2.1.exe"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-mingw-gcc4.2.1.exe</u></font></a><font size=3>
</font>
<td>
<div align=right><font size=3>22-Feb-2012 12:52 </font></div>
<td>
<div align=right><font size=3>50M</font></div>
<td><font size=3>&nbsp; </font>
<tr>
<td valign=top><img src=cid:_1_07B0E61407B0E2400062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-mingw-gcc4.2.1.tar.gz"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-mingw-gcc4.2.1.tar.gz</u></font></a><font size=3>
</font>
<td>
<div align=right><font size=3>22-Feb-2012 12:52 </font></div>
<td>
<div align=right><font size=3>22M</font></div>
<td><font size=3>&nbsp; </font>
<tr>
<td valign=top><img src=cid:_1_07B45A0007B4562C0062E1B585257A1A alt="[ ]">
<td><a href="http://www.coin-or.org/download/binary/CoinAll/COIN-OR-1.6.2-win32-mingw-gcc4.2.1.zip"><font size=3 color=blue><u>COIN-OR-1.6.2-win32-mingw-gcc4.2.1.zip</u></font></a><font size=3>
</font>
<td>
<td>
<td></table>
<br><font size=3><br>
<br>
<br>
On 11-06-2012 12:42, </font><a href=mailto:acw@ascent.com><font size=3 color=blue><u>acw@ascent.com</u></font></a><font size=3>
wrote: </font><font size=2 face="sans-serif"><br>
I will roughly describe our application and then present our problem.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
<br>
We have a working Cbc application running on Linux. &nbsp;It is unusual
in that it is not standalone, but rather is a component of a server that
accepts requests containing MIP problems, and returns the solutions to
the client.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
The server layer is implemented in Java, and we used JNI to connect to
the solver layer, which is mostly Cbc with a few interface functions pasted
on the top.</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
We were able to adapt the example makefiles in Cbc/examples, to produce
shared libraries (.so files) instead of direct executables. &nbsp;Shared
libraries are required to interface with Java code via JNI.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
<br>
Now our problem:</font><font size=3> </font><font size=2 face="sans-serif"><br>
<br>
We would like to port our MIP server to Windows. &nbsp;On Windows, shared
libraries are .dll files. &nbsp;Has anyone out there in Cbc-land successfully
compiled a Cbc application to produce a .dll? &nbsp;We are especially interested
in talking to anyone with a JNI-based success story. &nbsp;(We are willing
to use a Microsoft development environment, or Cygwin, or MinGW ... anything
that works. &nbsp;Extra points if we don't have to deliver a lot of extra
runtime support software when we install the server on a new machine.)</font><font size=3>
<br>
</font><tt><font size=3><br>
_______________________________________________<br>
Cbc mailing list</font></tt><font size=3 color=blue><u><br>
</u></font><a href="mailto:Cbc@list.coin-or.org"><tt><font size=3 color=blue><u>Cbc@list.coin-or.org</u></font></tt></a><font size=3 color=blue><u><br>
</u></font><a href="http://list.coin-or.org/mailman/listinfo/cbc"><tt><font size=3 color=blue><u>http://list.coin-or.org/mailman/listinfo/cbc</u></font></tt></a><font size=3><br>
<br>
<br>
</font><tt><font size=3><br>
-- <br>
=============================================================<br>
Haroldo Gambini Santos<br>
Computing Department - Universidade Federal de Ouro Preto - UFOP<br>
email: haroldo [at ] iceb.ufop.br<br>
 &nbsp; &nbsp; &nbsp;haroldo.santos [at] gmail.com<br>
home/research page: </font></tt><a href=http://www.decom.ufop.br/haroldo/><tt><font size=3 color=blue><u>www.decom.ufop.br/haroldo/</u></font></tt></a><tt><font size=3><br>
</font></tt><tt><font size=2><br>
_______________________________________________<br>
Cbc mailing list</font></tt><tt><font size=2 color=blue><u><br>
</u></font></tt><a href="mailto:Cbc@list.coin-or.org"><tt><font size=2 color=blue><u>Cbc@list.coin-or.org</u></font></tt></a><font size=3 color=blue><u><br>
</u></font><a href="http://list.coin-or.org/mailman/listinfo/cbc"><tt><font size=2 color=blue><u>http://list.coin-or.org/mailman/listinfo/cbc</u></font></tt></a><font size=3><br>
</font>
<br><font size=3><br>
</font>
<br><tt><font size=3>-- <br>
=============================================================<br>
Haroldo Gambini Santos<br>
Computing Department - Universidade Federal de Ouro Preto - UFOP<br>
email: haroldo [at ] iceb.ufop.br<br>
 &nbsp; &nbsp; &nbsp; haroldo.santos [at] gmail.com<br>
home/research page: </font></tt><a href=http://www.decom.ufop.br/haroldo/><tt><font size=3 color=blue><u>www.decom.ufop.br/haroldo/</u></font></tt></a><tt><font size=3><br>
<br>
</font></tt>
<br>