Solved

D1: Cannot run/step the process

Posted on 1997-05-09
6
190 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now