Solved

System.pas

Posted on 2001-06-23
4
1,649 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 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

22 Experts available now in Live!

Get 1:1 Help Now