<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Integration with C++ Builder</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">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 SIZE=2 FACE="Arial">Regards</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=2 FACE="Arial">John</FONT><FONT FACE="Times New Roman"> </FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">---------------------------------------------------------------------------------- </FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">John Davys, Senior Consultant, Database Systems</FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">Rezare Systems Limited</FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">Waikato Innovation Park Ph: +64 7 8570824 </FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">PO Box 9466 Fax: +64 7 8570501 </FONT></SPAN>
<BR><SPAN LANG="en-nz"><FONT SIZE=1 FACE="Arial">Hamilton Mobile: +64 275570824 </FONT></SPAN>
<BR><SPAN LANG="en-nz"></SPAN><A HREF="mailto:john.davys@rezare.co.nz"><SPAN LANG="en-nz"><U><FONT COLOR="#0000FF" SIZE=1 FACE="Arial">john.davys@rezare.co.nz</FONT></U></SPAN></A><SPAN LANG="en-nz"></SPAN>
</P>
<BR>
</BODY>
</HTML>