Solved

D1: Cannot run/step the process

Posted on 1997-05-09
6
203 Views
Last Modified: 2010-04-06
Hi,

I am having some problems with Delphi 1.x and I don't know where to start in fixing them.

The problem is that whenever I run my compiled app from within the Delphi 1.02 IDE, I get a message box that says:
      "Cannot run/step the process"

The thing is, the application still runs. Other times, instead of getting that message box I'll get a divide by 0 error in my app, yet the app still runs (even before dismissing the error)!! My guess is that the IDE is running two copies of my application for whatever reason. Has anyone else had this problem?

There seems to be a lot of bugs in Delphi 1.x when handling large projects. Previously, when my app GPF'd it would take me to the correct offending source line. Now, no such luck. The GPF occurs with no indication of where the error is. Also, 75% of the time once I dismiss the GPF, Delphi itself will also GPF in both Delphi.exe and the infamous PAS*.DLL module. This is all under Win95 with
debugging info on and break on exception checked BTW.

If you could steer me in the right direction regarding these problems, or even better point me to a patch, I would appreciate it! What version of the 16-bit environment comes with Delphi 3?

James.
0
Comment
Question by:waletzky
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 2

Expert Comment

by:gysbert1
ID: 1336059
No 16bit with delphi3 as far as I know. Only the beta is out, but delphi 2 shipped with delphi1 for 16 bit apps !

There is a patch for Delphi1 on the borland site.
www.borland.com/...

If the above happens the first time you try to run your app it could be a delphi bug. If not there might be a error that causes it not to shut down (or start up) properly and cause such errors ...
0
 
LVL 1

Expert Comment

by:miv
ID: 1336060
Check the prev. thread "Debugger Limitations"
And don´t use Win95 ;-)
0
 
LVL 12

Expert Comment

by:andrewjb
ID: 1336061
Just to make sure, you are compiling with all the debugging options set, and no optimization, aren't you?!

Do read 'Debugger Limitations'. It has solved lots of problems for me.


0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 2

Expert Comment

by:icampbe1
ID: 1336062
Sounds like your environment is trashed.  Re-install Delphi and try again.

PS D3 ships with  D1  v1.02


0
 

Author Comment

by:waletzky
ID: 1336063
I tried re-installing Delphi and that did no good whatsoever. The environment seems to think that it's dealing with two copies of my project. Yes, that sounds weird, but everytime I execute the app from within the IDE it tries to run two copies. Also, if a GPF occurs in my app, periodically it will load the source file even though that source file is already open in the code editor. Something is definitely corrupted. My main form is rather large - I don't want to have to recreate it.

Any other suggestions?
0
 
LVL 1

Accepted Solution

by:
ygolan earned 100 total points
ID: 1336064
Try deleting all the DCUs used by your app and rebuild it. If this still doesn't work, try creating a new project and add your existing forms to it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question