Subject | RE: [IBO] Extrending the code (Delphi/Builder) |
---|---|
Author | Norman Dunbar |
Post date | 2002-08-30T14:43:57Z |
Dany,
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.
HTH
Regards,
Norman.
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
http://www.borland.com/products/downloads/download_delphi.html# (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.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------
-----Original Message-----
From: Dany Marmur [mailto:arbit@...]
Sent: Friday, August 30, 2002 3:28 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Extrending the code (Delphi/Builder)
Hi!
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,
/Dany
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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.
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.
HTH
Regards,
Norman.
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
http://www.borland.com/products/downloads/download_delphi.html# (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.
mailto:Norman.Dunbar@...
Tel: 0113 289 6265
Fax: 0113 289 3146
URL: http://www.Lynx-FS.com
-------------------------------------
-----Original Message-----
From: Dany Marmur [mailto:arbit@...]
Sent: Friday, August 30, 2002 3:28 PM
To: IBObjects@yahoogroups.com
Subject: [IBO] Extrending the code (Delphi/Builder)
Hi!
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,
/Dany
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
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.