<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"><<a href="mailto:lazarus-request@lists.lazarus.freepascal.org" target="_blank">lazarus-request@lists.lazarus.freepascal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><snip> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Den <<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>><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: <<a href="mailto:54E1E6CA.3030809@gmail.com">54E1E6CA.3030809@gmail.com</a>><br>
Content-Type: text/plain; charset=windows-1252; format=flowed<br>
<br>
     Indeed.. It's no easy task for sure.  Sven would have to implement<br>
all features of the C++ Class that C++ supports.  I'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>
> On 02/16/2015 11:08 AM, Sven Barth wrote:<br>
>> Am 16.02.2015 08:35 schrieb "zeljko" <<a href="mailto:zeljko@holobit.net">zeljko@holobit.net</a><br>
>> <mailto:<a href="mailto:zeljko@holobit.net">zeljko@holobit.net</a>>>:<br>
>>  ><br>
>>  > On 02/16/2015 08:04 AM, Sven Barth wrote:<br>
>>  >><br>
>>  >> Am 16.02.2015 04:48 schrieb "Den" <<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a><br>
>> <mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>><br>
>>  >> <mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a> <mailto:<a href="mailto:cyraid@gmail.com">cyraid@gmail.com</a>>>>:<br>
>>  >><br>
>>  >>  ><br>
>>  >>  > lol, speaking of which Sven, what's the progress report on the<br>
>> C++<br>
>>  >> Classes? :D<br>
>>  >><br>
>>  >> Currently not working on it. Generics and packages have higher<br>
>> priority.<br>
>>  >> But I plan to continue it especially since the API of our<br>
>> company's OS<br>
>>  >> is C++ based ^^<br>
>>  ><br>
>>  ><br>
>>  > That will be the one of the greatest features :)<br>
>><br>
>> Don't look forward to it too much. It will likely only work for simple<br>
>> cases. E.g. once a C++ class uses operators (without providing the<br>
>> functionality in other ways) it will likely break down...<br>
><br>
> I thought that it'll really work. Without ability to override virtual<br>
> methods it'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>