Subject RE: [IBO] Extrending the code (Delphi/Builder)
Author Norman Dunbar

the C++ Builder system actually 'understands' Delphi - which is why you are
able to install IBO (written in Delphi) into C++Builder.

To trace the source code, set a debug point in a test app, and follow it
through in the debugger, when you leave C++ and enter Delphi - you will see
the code in Delphi not in C++. Some die hard C++ programmers over in the
Borland news groups object to the fact that C++Builder uses the Delphi VCL -
but I quite like it myself.

Alternatively, you can look at the Delphi source code in any text editor, or
simply open a .pas file in C++ Builder etc etc.

All of the above work on the understanding that you do have the full source
code, if not, you may find areas that you cannot step into in the debugger.



PS. When debugging the Delphi code, the C++ debugger doesn't show Tooltip
evaluation of Delphi variables - only procedure & function addresses - which
isn't as helpful as when you debug straight C++ code. (Or use Delphi !)

PPS. Why not nip over to (the # is
required) and download a copy of 'Delphi 6 Personal', install it and
register it on-line. Then you can step through Delphi code and have the
tooltip help work correctly as mentioned above. D6 Personal is free for your
own PERSONAL use. You'll also see just how much faster Delphi is to compile
than C++ :o)

Norman Dunbar
Database/Unix administrator
Lynx Financial Systems Ltd.
Tel: 0113 289 6265
Fax: 0113 289 3146

-----Original Message-----
From: Dany Marmur [mailto:arbit@...]
Sent: Friday, August 30, 2002 3:28 PM
Subject: [IBO] Extrending the code (Delphi/Builder)


This might be somewhat off-topic. I need to create new subclasses from the
controls (to change key and screen behaviour and some more). When I trace
the pascal code in Builder most types are shown as void inte the debugger.
To hack message handling functions and paint functions under theese
sircumbstances is almost impossible.

Do I need Delphi to be able to trace the source meningfully? Or is there
some setting i Builder? Are there translated sources like the *.hpp that
comes with the project? Some Pascal to C translator? I'm not used to VCL so
bear with me please.

Thank you for your support,


IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !

Your use of Yahoo! Groups is subject to

This email is intended only for the use of the addressees named above and
may be confidential or legally privileged. If you are not an addressee you
must not read it and must not use any information contained in it, nor copy
it, nor inform any person other than Lynx Financial Systems or the
addressees of its existence or contents. If you have received this email
and are not a named addressee, please delete it and notify the Lynx
Financial Systems IT Department on 0113 2892990.