Solved

System.pas

Posted on 2001-06-23
4
1,670 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
[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
  • 2
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Madshi earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

623 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