Solved

D1: Cannot run/step the process

Posted on 1997-05-09
6
205 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
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!

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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