Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do you debug Delphi DLL's?

108 views
Skip to first unread message

Harley Mackenzie

unread,
Jun 26, 1995, 3:00:00 AM6/26/95
to
I am develop some DLL's and was wishing to write them using Delphi. However
I cannot seem to work out a way of debugging them. If I set a breakpoint on a
line in the DLL source code, how do I run the calling program? I have tried
setting the include TDW (BC45) symbol information option in the calling program
and the DLL but when I try to load the calling program in TDW I get a "wrong
linker version" error.

In Visual C++ you can set up the debugger to start when the DLL is called by any
other program, but I havent worked out how you can do this with Delphi. Can
anyone suggest how to do this? This problem MUST arise with any person
trying to write a non-trivial DLL, so I am hoping someone has the solution.

Harley


Steve Teixeira

unread,
Jun 26, 1995, 3:00:00 AM6/26/95
to

You need TDW 4.6 (which works with both BC++ and Delphi), which is available in...

* The Delphi RAD Pack.
* The latest version of TASM.
* The free BC++ 4.51 update.

-Steve Teixeira
stei...@borland.com


Jon Jenkins

unread,
Jun 26, 1995, 3:00:00 AM6/26/95
to stei...@borland.com
Hi Steve,
Nice to see you back. I am not able to get the
latest TASM in Aus nor can I get the debugger. Where
can I get the "free" upgrade" for my BC 4.5
kit ? Borland in Aus dont have that either !!

Jon
--
----------------------------------------------------------------------
Name: Dr Jon Jenkins
Location: Digital Equipment Corp, NaC,
Burnett Place, Research Park,
Bond University, Gold Coast
QLD, AUSTRALIA 4229
Phone: 61-75-75-0151
Fax: 61-75-75-0100
Internet: jenk...@ozy.dec.com
Close Proximity: "HEY YOU !!!"

The opinions expressed above are entirely personal and do not
reflect the corporate policy of DEC or the opinions of DEC management.
-----------------------------------------------------------------------


Vince Risi

unread,
Jun 27, 1995, 3:00:00 AM6/27/95
to
In article <3smrmj$4...@druid.borland.com>,

Steve Teixeira <stei...@borland.com> wrote:
>
>You need TDW 4.6 (which works with both BC++ and Delphi), which is available in...
>
>* The Delphi RAD Pack.
>* The latest version of TASM.
>* The free BC++ 4.51 update.
>
> -Steve Teixeira
> stei...@borland.com
>

Steve

I think the Delphi RAD Pack pricing sucks. I do not want anything
but TDW 4.6. I have multiple copies of all the other stuff. TDW
used to come with the professional development software.

Can I just purchase TDW 4.6 for a reasonable price?

Will it work across C and Delphi?

Can I debug my C DLL's called from Delphi or do I still have to
debug them from a C stub task?

Does TDW 4.6 run properly on Warp 3.0?

Is TDW 4.6 still a subdead DOS task with a peculiar GUI Window at
better or Full Console screen at best?

Vince
=====


Steve Teixeira

unread,
Jun 27, 1995, 3:00:00 AM6/27/95
to
Jon Jenkins <jenk...@ozy.dec.com> wrote:
>Hi Steve,
> Nice to see you back. I am not able to get the
>latest TASM in Aus nor can I get the debugger. Where
>can I get the "free" upgrade" for my BC 4.5
>kit ? Borland in Aus dont have that either !!
>

I'm not sure. Since every distributor does it differently you'll have to
contact Borland, Oz.

-Steve Teixeira
stei...@borland.com


Chad Z. Hower

unread,
Jun 30, 1995, 3:00:00 AM6/30/95
to

Subject: Re: How do you debug Delphi DLL's?

>I am develop some DLL's and was wishing to write them using Delphi. However
>I cannot seem to work out a way of debugging them. If I set a breakpoint on a
>line in the DLL source code, how do I run the calling program? I have tried
>setting the include TDW (BC45) symbol information option in the calling progr

>and the DLL but when I try to load the calling program in TDW I get a "wrong
>linker version" error.
>
>In Visual C++ you can set up the debugger to start when the DLL is called by

>other program, but I havent worked out how you can do this with Delphi. Can
>anyone suggest how to do this? This problem MUST arise with any person
>trying to write a non-trivial DLL, so I am hoping someone has the solution.

I would be interested in seeing any responses you recieve. You could
alternatively (worst case) use a debug window.

_
"640K ought to be enough for anybody." (Bill Gates, 1981)
QWicKeSST - The ultimate database QWK reader, and NO limits. #BLYGJOMK
Special Compile: 1.008A (Alpha)


'[1;35;40m-=> Delphi Internet Jet SST v3.013A (Alpha) - (C) PBE

0 new messages