Re: [lazarus] C++ libraries

2008-01-25 Thread Luca Olivetti

En/na Felipe Monteiro de Carvalho ha escrit:

You have to build a C wrapper around C++. Look at the Qt 4 Pascal bindings.


I cannot find the link now, but I read of someone wrapping C++ classes 
directly into fpc classes, working both under windows and linux.


Bye
--
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] C++ libraries

2008-01-24 Thread mramirez
Hi. I was wondering if C++ classes binary *.obj files could be  
accessed from a Free Pascal application.


I did my homework and check at the Free Pascal site, BEFORE  
bothering this list with a boring same question, but didn't found  
anything.


Any updates ? Thanks.

mramirez

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] C++ libraries

2008-01-24 Thread Albert Zeyer


Am 25.01.2008 um 02:37 schrieb mramirez:

Hi. I was wondering if C++ classes binary *.obj files could be  
accessed from a Free Pascal application.




As far as I know this is not possible (yet). The main problem is that  
the C++ ABI is very complicated and also changes with each GCC version.


But though, I myself was also interested in this topic. I have not yet  
read more about the details of the C++ ABI.


Does somebody know further details? Which details are changing there?  
What exactly is complicated?


Another thing is that C++ objects are not exactly similar to Object  
pascal objects.


Regards,
Albert

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] C++ libraries

2008-01-24 Thread Felipe Monteiro de Carvalho
You have to build a C wrapper around C++. Look at the Qt 4 Pascal bindings.

-- 
Felipe Monteiro de Carvalho

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives