<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=932202701-13062006><FONT face=Arial 
color=#0000ff size=2>The same site as referred to below has an article about 
that too.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=932202701-13062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=932202701-13062006><FONT face=Arial 
color=#0000ff size=2>John</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> delphi-bounces@ns3.123.co.nz 
[mailto:delphi-bounces@ns3.123.co.nz] <B>On Behalf Of </B>Paul A 
Norman<BR><B>Sent:</B> Tuesday, 13 June 2006 1:18 p.m.<BR><B>To:</B> NZ Borland 
Developers Group - Delphi List<BR><B>Subject:</B> Re: [DUG] Integration with C++ 
Builder<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Related to tis dies any one have any experience at working I think with C 
or C++ "OBJ" thingies directly in Delphi code?</DIV>
<DIV>&nbsp;</DIV>
<DIV>paul<BR><BR>&nbsp;</DIV>
<DIV><SPAN class=gmail_quote>On 12/06/06, <B class=gmail_sendername>Todd 
Martin</B> &lt;<A href="mailto:toddm@kol.co.nz">toddm@kol.co.nz</A>&gt; 
wrote:</SPAN> 
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
  <DIV>
  <DIV bgcolor="#ffffff">
  <DIV><FONT face=Arial size=2>Hi John</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>To access&nbsp;C++ objects in Delphi you need to 
  create descendant C++ pure virtual classes</FONT></DIV>
  <DIV><FONT face=Arial size=2>Read this article <A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://rvelthuis.de/articles/articles-cppobjs.html" 
  target=_blank>http://rvelthuis.de/articles/articles-cppobjs.html 
  </A></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Todd.</FONT></DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"></BLOCKQUOTE></DIV>
  <DIV><SPAN class=e id=q_10bc6c748ad97444_1>
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A 
  title=john.davys@rezare.co.nz 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:john.davys@rezare.co.nz" target=_blank>John Davys</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:delphi@ns3.123.co.nz" target=_blank>delphi@ns3.123.co.nz</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 12, 2006 12:16 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [DUG] Integration with C++ 
  Builder</DIV>
  <DIV><BR>&nbsp;</DIV>
  <P><FONT face=Arial size=2>Hi</FONT> </P>
  <P><FONT face=Arial size=2>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? </FONT></P>
  <P><SPAN lang=en-nz><FONT face=Arial size=2>Regards</FONT><FONT 
  face="Times New Roman"> </FONT></SPAN><BR><SPAN lang=en-nz><FONT face=Arial 
  size=2>John</FONT><FONT face="Times New Roman"> </FONT></SPAN><BR><SPAN 
  lang=en-nz><FONT face=Arial 
  size=1>---------------------------------------------------------------------------------- 
  </FONT></SPAN><BR><SPAN lang=en-nz><FONT face=Arial size=1>John Davys, Senior 
  Consultant, Database Systems </FONT></SPAN><BR><SPAN lang=en-nz><FONT 
  face=Arial size=1>Rezare Systems Limited</FONT></SPAN> <BR><SPAN 
  lang=en-nz><FONT face=Arial size=1>Waikato Innovation Park Ph: +64 7 8570824 
  </FONT></SPAN><BR><SPAN lang=en-nz><FONT face=Arial size=1>PO Box 9466 Fax: 
  +64 7 8570501 </FONT></SPAN><BR><SPAN lang=en-nz><FONT face=Arial 
  size=1>Hamilton Mobile: +64 275570824 </FONT></SPAN><BR><SPAN 
  lang=en-nz></SPAN><A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:john.davys@rezare.co.nz" target=_blank><SPAN lang=en-nz><U><FONT 
  face=Arial color=#0000ff 
  size=1>john.davys@rezare.co.nz</FONT></U></SPAN></A><SPAN lang=en-nz></SPAN> 
  </P><BR></SPAN></DIV>
  <DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Delphi mailing 
  list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:Delphi@ns3.123.co.nz" 
  target=_blank>Delphi@ns3.123.co.nz</A><BR><A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://ns3.123.co.nz/mailman/listinfo/delphi" 
  target=_blank>http://ns3.123.co.nz/mailman/listinfo/delphi</A><BR>
  <P>
  <HR>

  <P></P>No virus found in this incoming message.<BR>Checked by AVG Free 
  Edition.<BR>Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 
  5/06/2006<BR>
  <P></P>
  <P></P>
  <BLOCKQUOTE></BLOCKQUOTE>
  <P></P>
  <P></P></DIV></DIV><BR>No virus found in this outgoing message.<BR>Checked by 
  AVG Free Edition.<BR>Version: 7.1.394 / Virus Database: 268.8.3/361 - Release 
  Date: 11/06/2006<BR><BR><BR>_______________________________________________ 
  <BR>Delphi mailing list<BR><A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</A><BR><A 
  onclick="return top.js.OpenExtLink(window,event,this)" 
  href="http://ns3.123.co.nz/mailman/listinfo/delphi" 
  target=_blank>http://ns3.123.co.nz/mailman/listinfo/delphi</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>