I can't help you with the first few questions, but the tracing the AV's I
can.

I found that the AV can be releated to the actual run time ASM statement of
the application. Now the problem is you really need the same copy of the
.exe built with the same options as your deployment version.

Under D4, and I think D3 you can click the F12 button to break into the
debugger when you want. If Not run your app and put a breakpoint somewhere.

Then view the CPU window (In D4 View-DebugWindows-CPU), I think under D3 you
have to enable it manually (Sorry I can't remember where, some registry
setting from memory).

You then right click on the ASM and select goto address remember you use $
before the number from the AV. e.g. $4d1a29

This should position you at the point where the problem is. I used this
method and found a problem with one of my controls.

If you have debug info on, you will see the Delphi code and the ASM. Even if
you do not have debug info the Delphi debugger usually gives you the file
and the line number where the problem is.

Now - hopefuly the problem is in your code (easy to get at and fix), and not
in some other thread.

Chris


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Andrew Masters
Sent: Sunday, 20 June 1999 07:58
To: Multiple recipients of list delphi
Subject: [DUG]: Deployment Problems ?


Hi,

I'm doing my first deployment using InstallSheild Express and experiencing
utter frustration.

My app runs fine under development but when deploying it I get an access
violation followed by 2 Runtime errors (216). I though I may not have
deployed a DLL or ActiveX control etc but some testing with small test apps
show I would get an error specifying the missing DLL. Is that correct ? The
compiled EXE has all packages linked in so that should be OK.

The other big difference between my development and deployment environment
is (and I hope it is not this, but suspect it is), I develop under W95. I am
deploying under W98. Are there any known issues here ?????

The app is written with D C/S 3.0 and IB5.5. IB is installed fine. The
install set installs BDE5.01 and sets up an alias (after many problems !).
This is all OK.

This problem is causing major stress, you help is extremely appreciated !!

Oh, also, how can you trace an access violation given the memery address in
the error message. ?

Cheers
Andrew Masters
Clinical Solutions Ltd
Auckland, NZ
Ph: +64-9-476-0106
Fax: +64-9-476-0108
e: [EMAIL PROTECTED]

---------------------------------------------------------------------------
    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

Reply via email to