[DUG] Integration with C++ Builder

John Davys john.davys at rezare.co.nz
Tue Jun 13 13:27:53 NZST 2006


The same site as referred to below has an article about that too.
 
John

  _____  

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Paul A Norman
Sent: Tuesday, 13 June 2006 1:18 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Integration with C++ Builder


Related to tis dies any one have any experience at working I think with C or
C++ "OBJ" thingies directly in Delphi code?
 
paul

 
On 12/06/06, Todd Martin <toddm at kol.co.nz> wrote: 

Hi John
 
To access C++ objects in Delphi you need to create descendant C++ pure
virtual classes
Read this article http://rvelthuis.de/articles/articles-cppobjs.html
<http://rvelthuis.de/articles/articles-cppobjs.html> 
 
Todd.


----- Original Message ----- 
From: John Davys <mailto:john.davys at rezare.co.nz>  
To: delphi at ns3.123.co.nz 
Sent: Monday, June 12, 2006 12:16 PM
Subject: [DUG] Integration with C++ Builder

 

Hi 

Does anyone know how to access a C++ class from Delphi? I have some legacy
C++ code that I'd to wrap with a Delphi interface. I'm using BDS 2006 so
have both C++ Builder and Delphi personalities available. The C++ code comes
from Borland C++ v5.02. I'd like to recompile the main classes in C++
Builder, then call them from Delphi if possible. I know I could compile the
C++ into a dll and call it that way but was wondering if I could use the
classes directly like a Delphi component? 

Regards 
John 
----------------------------------------------------------------------------
------ 
John Davys, Senior Consultant, Database Systems 
Rezare Systems Limited 
Waikato Innovation Park Ph: +64 7 8570824 
PO Box 9466 Fax: +64 7 8570501 
Hamilton Mobile: +64 275570824 
 <mailto:john.davys at rezare.co.nz> john.davys at rezare.co.nz 




  _____  




_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi




  _____  




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 5/06/2006











No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/361 - Release Date: 11/06/2006


_______________________________________________ 
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060613/3c3bdb5d/attachment.html


More information about the Delphi mailing list