<div dir="ltr">Hi again...<br><div class="gmail_extra"><br><div class="gmail_quote">On 16 February 2015 at 16:05,  <span dir="ltr">&lt;<a href="mailto:lazarus-request@lists.lazarus.freepascal.org" target="_blank">lazarus-request@lists.lazarus.freepascal.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&lt;snip&gt; </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Den &lt;<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>&gt;<br>
Subject: Re: [Lazarus] How to access libraries from other languages?<br>
To: <a href="mailto:lazarus@lists.lazarus.freepascal.org">lazarus@lists.lazarus.freepascal.org</a><br>
Message-ID: &lt;<a href="mailto:54E1E6CA.3030809@gmail.com">54E1E6CA.3030809@gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
     Indeed.. It&#39;s no easy task for sure.  Sven would have to implement<br>
all features of the C++ Class that C++ supports.  I&#39;m guessing Sven is<br>
gonna go with the basic VMT C++ support, which would probably include<br>
virtual method overriding, am I right Sven?<br>
<br>
- Dennis<br>
<br>
On 2015-02-16 04:19 AM, zeljko wrote:<br>
&gt; On 02/16/2015 11:08 AM, Sven Barth wrote:<br>
&gt;&gt; Am 16.02.2015 08:35 schrieb &quot;zeljko&quot; &lt;<a href="mailto:zeljko@holobit.net">zeljko@holobit.net</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:zeljko@holobit.net">zeljko@holobit.net</a>&gt;&gt;:<br>
&gt;&gt;  &gt;<br>
&gt;&gt;  &gt; On 02/16/2015 08:04 AM, Sven Barth wrote:<br>
&gt;&gt;  &gt;&gt;<br>
&gt;&gt;  &gt;&gt; Am 16.02.2015 04:48 schrieb &quot;Den&quot; &lt;<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a><br>
&gt;&gt; &lt;mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>&gt;<br>
&gt;&gt;  &gt;&gt; &lt;mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a> &lt;mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>&gt;&gt;&gt;:<br>
&gt;&gt;  &gt;&gt;<br>
&gt;&gt;  &gt;&gt;  &gt;<br>
&gt;&gt;  &gt;&gt;  &gt; lol, speaking of which Sven, what&#39;s the progress report on the<br>
&gt;&gt; C++<br>
&gt;&gt;  &gt;&gt; Classes? :D<br>
&gt;&gt;  &gt;&gt;<br>
&gt;&gt;  &gt;&gt; Currently not working on it. Generics and packages have higher<br>
&gt;&gt; priority.<br>
&gt;&gt;  &gt;&gt; But I plan to continue it especially since the API of our<br>
&gt;&gt; company&#39;s OS<br>
&gt;&gt;  &gt;&gt; is C++ based ^^<br>
&gt;&gt;  &gt;<br>
&gt;&gt;  &gt;<br>
&gt;&gt;  &gt; That will be the one of the greatest features :)<br>
&gt;&gt;<br>
&gt;&gt; Don&#39;t look forward to it too much. It will likely only work for simple<br>
&gt;&gt; cases. E.g. once a C++ class uses operators (without providing the<br>
&gt;&gt; functionality in other ways) it will likely break down...<br>
&gt;<br>
&gt; I thought that it&#39;ll really work. Without ability to override virtual<br>
&gt; methods it&#39;s unuseable for me.<br></blockquote><div>I was maybe thinking more low-level (e.g. when using a compiled C++ library without the source code)? All C++ class methods are translated into (mangled) functions in any case, so as long as Lazarus can wrap these as methods in a class of its own it should work? It should even be possible to wrap 2 or 3 C++ classes into one Lazarus class?</div><div><br></div><div>Cheers and thanks for the insights so far.</div><div>Chavoux</div></div></div></div>