Solved

System.pas

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

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

Suggested Solutions

Title # Comments Views Activity
Delphi Firemonkey Need Sample for Online Shopping Example. 2 120
Downloading email attachments 2 67
Convert MS Word document to a PDF file 9 65
update joined tables 2 32
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 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

26 Experts available now in Live!

Get 1:1 Help Now