Don't know if this is what you are looking for
If you do trap your Exceptions, then you can find out the DLL load address -
it is actually just the Hinstance handle value.
You can do this as a general method of handling exceptions.
try
....
except
ExceptionErrorMessage( ExceptObject, ExceptAddr, Buffer, SizeOf( Buffer
));
//log your message and specify the HInstance value.
end;
ExceptObject/ExceptAddr are either in Sysutils or System, same goes for
ExceptionErrorMessage.
Myles.
> -----Original Message-----
> From: Jim Zheng [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 16, 2000 10:41 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: address and source code
>
> Hi,
>
> One of my DLL occasionally cause an access violation error (says at
> address
> 015D7B5C in module "MyDLL.DLL" )in my client system, but it is hard to
> explain when and how this happens. So I find very hard to use debug tools
> in
> Delphi to test against client's environment.
>
> Anyone here knows any tool can generate a list which can show both the
> Delphi source code and the address (or relative address) in Delphi linked
> exe/DLL?
>
> Jim
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz