Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

System.pas

Posted on 2001-06-23
4
Medium Priority
?
1,696 Views
Last Modified: 2012-05-04
First I'll admit that to load several items without testing each in turn is stupid, so please don't remind me of that.  (I guess I'm too trusting with products that say 'nothing can go worng'.


Today I downloaded components from  DelphiFreeStuff and from GExperts.
I installed these - TAlarm, TPlayWav, TExitWindows, TLog, TTrayIcon.
They installed without any (obvious) problems.

I also installed TGifImage (and added VCL40 because it said I needed it.).

I also compiled GExpert3 because the site said that with D3.0 I would have to download the source and compile it.
That failed because Delphi could not find QRPT30.DPL.  (Perhaps if you're feeling generous you could also tell me where I can find it, the Borland site was no help.)

I'm now left with Delphi not able to compile anything.  Not even my existing applications.    I even started a new application with just a button on a form and even that wouldn't compile.
The error is "Cannot find SYSTEM.PAS".
I have found SYSTEM.DCU but that's as far as it goes.

Can you please tell me where I can find system.pas and where I need to put it ... please.
Or what I need to do to remove whatever is looking for system.pas ... please.

Please, please, I'm desperate ... time is ticking by and my dear old Delphi has been killed.


 
0
Comment
Question by:frog
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 800 total points
ID: 6221151
My suggestion is this: Uninstall all the components you've downloaded one after one. Try compiling each time after you've uninstalled one. If you have uninstalled all components and it still doesn't work, you will probably have to uninstall and reinstall Delphi itself, too. I can't tell you which component is the guilty one. Needing Vcl40 in Delphi3 sounds a bit suspicious to me, though.

You don't need system.pas, if you have system.dcu. Delphi means "Cannot find neither system.pas nor system.dcu". Don't know if any of the components are guilty for this message. You could perhaps check your library and search paths (in the environment options). Are they still valid?

Regards, Madshi.
0
 

Author Comment

by:frog
ID: 6221937
Thanks Madshi.

"Needing Vcl40 in Delphi3 sounds a bit suspicious to me,though."  
Me too, but he wrote it so he should to know. :-[

"You don't need system.pas, if you have system.dcu.
Delphi means "Cannot find neither system.pas nor system.dcu".
Of course it's looking for the .dcu, I was wondering why it would want a .pas.
Now I know where I went wrong ... I should have checked the compiler option 'Display error messages that make sense'.
I'll go away and calm down for a while ... I'm in "D***** is a piece of sh!t mode" right now.

"You could perhaps check your library and search paths (in the environment options). Are they still valid?"
Yep, look ok to me and system.dcu is in \Lib and \Slib.

I was hoping for someting like "Ah that's the old system.pas problem, just do ..."
I'll keep at it for a while then reinstall Delphi. Praps the 'long way' might end up being the easiest & shortest fix.

Thanks again Madshi.

0
 
LVL 20

Expert Comment

by:Madshi
ID: 6222765
>> Of course it's looking for the .dcu, I was wondering why it would want a .pas.

It's because normally Delphi wants a pas, but it also accepts an already compiled pas, which is a dcu.

>> Now I know where I went wrong ... I should have checked the compiler option 'Display error messages that make sense'.

:-)

>> I'll go away and calm down for a while ... I'm in "D***** is a piece of sh!t mode" right now.

IMHO Delphi is the best programming language/system around. But it is not perfect for sure. There are a lot of little annoyings...

Regards, Madshi.
0
 

Author Comment

by:frog
ID: 6234290
Hi Madshi,
I agree, it is a good language and system. Years ahead of it's time and all, and all ...... but it's a good thing spoiled by "a lot of little annoyings...".  
Even simple things like the help system ... I look up 'Thingy' and it's not there, so I look up 'TThingy' and it's still not there. I mutter to myself "I've seen it before so it must be here somewhere" .. so I look up everything remotely to do with the topic and still can't find it. An hour later I type TThingy, put the cursor at the beginning of it, press F1 ............ and there it is .. methods, properties, events ... all you ever need on 'TThingy'. There's no excuse for garbage like that.
If you or me put out a product as poorly supported as Delphi we would be 'run out of town' by the freeware/shareware community.
Just look at the number of support groups, Experts Exchange, etc all doing Borland's job for them .. ie helping people make the most of a poorly supported 'good thing gone wrong'.
So why do I struggle along with Delphi 3 and not upgrade? The reason is that I started with Turbo Pascal 3.0, upgraded, upgraded, through Object Pascal, Delphi 1, etc, etc, and I've found that each time it had new things (often absolutely brilliant things) but each time the support got worse and worse. I only upgrade when I have to, and usually regret the high cost.
Like a good friend says about Windows "Why would I want to install W95? They haven't even got W3.1 working yet." And he's right ...  W3.1 was fairly good, it certainly didn't fall apart with 'the blue screen of death' like W95 does.
And the same goes for Delphi.

Ahhhhhhhhhh that makes me feel a lot better.  ;-)



0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

963 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