On Fri, Mar 20, 2009 at 9:00 AM,  <span dir="ltr">&lt;<a href="mailto:geos-devel-request@lists.osgeo.org">geos-devel-request@lists.osgeo.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Date: Fri, 20 Mar 2009 09:59:23 +0100<br>
From: J?rgen E. Fischer &lt;<a href="mailto:jef@norbit.de">jef@norbit.de</a>&gt;<br>
Subject: Re: [geos-devel] Using the GEOS C++ interface on Windows<br>
        (Visual Studio)<br>
To: <a href="mailto:geos-devel@lists.osgeo.org">geos-devel@lists.osgeo.org</a><br>
Message-ID: &lt;<a href="mailto:20090320085923.GA15394@norbit.de">20090320085923.GA15394@norbit.de</a>&gt;<br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Hi Ragi,<br>
<br>
On Thu, 19. Mar 2009 at 13:23:23 -0700, Ragi Y. Burhum wrote:<br>
&gt; For about six months now, we (the company I am working for) have been<br>
&gt; using the GEOS C++ API on Linux and Mac platforms without a problem<br>
&gt; for an application we are writing. Last week, we started porting that<br>
&gt; application to Windows (Visual Studio IDE) and when it came down to<br>
&gt; linking I realized that only the GEOS C API had the GEOS_DLL contructs<br>
&gt; to export the symbols.<br>
<br>
I&#39;ve run into this in the past too.  I seems that&#39;s intentional as C++<br>
ABI are everything but stable on Windows - you need to compile the C++<br>
DLL with the same compiler that you plan to use it with to be able to<br>
use it reliably.  But that kind of ruins the point of DLLs.  C-APIs<br>
don&#39;t have that problem.<br>
<br>
<br>
Jürgen<br>
<br>
--<br>
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20<br>
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50<br>
Software Engineer         D-26506 Norden               <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><br>
<br>
--<br>
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<br>
Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br>
<br>
<br>
</blockquote></div><br>For those of you that were interested in the GEOS VS studio C++ project with the dll export symbols on all the classes. I put it up at this link <a href="http://www.mv360.com.mx/~rburhum/geos/">http://www.mv360.com.mx/~rburhum/geos/</a> hopefully someone will merge it with trunk so that I don&#39;t have to redo the changes for every release :)<br>
<br>If there are any comments, questions, about the code changes feel free to contact me.<br><br>Jürgen, I would be interested on finding out what kind of problems you have run into when using GEOS C++ on Windows. So far, I have had good success and haven&#39;t really faced any issues...<br>
<br>Thanks,<br><br>- Ragi Burhum<br><br>