Fatal error line too long

I am new to Delphi and am trying to compile code available at:

http://download.jabber.org/cvs/winjab/

but I get the following error:

[Fatal Error] WinJab.dpr(1): Line too long (more than 1023 characters)

What is causing this?
LVL 2
ventolinAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rwilson032697Commented:
The DPR file is fine. What version of delphi are you compiling it with?

Have you modified the .DPR file? Have you check that line 1 isn't corrupted?
Cheers,

Raymond.
0
intheCommented:
ive downloaded and look at these and they are corrupt.
Delphi expects each line to be terminated with a carriage-return/line-feed pair. Some lines in them units are terminated only with a carriage return.

open about1.dfm in notepad and you see what i mean it has block char instead of proper escape sequence..
(open a normal one of your to see the difference)
you should email the authors and let them know,they will probably send you new one.
otherwise you have to go through tthe dfms and maybe pas's in notepad or dos edit and retun each line so it has proper carage return..
Regards Barry
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rwilson032697Commented:
I think the URL may have a clue as to why:  ...\cvs\... It could be a CVS source control area. There may be another place at the site to download the file from. Either that, or download a CVS client and extract the source...

Cheers,

Raymond.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

intheCommented:
yes its also possible the files were created with one of them delphi code formatters,ive heard they can do this to dfm's and pas files..
some of them are ok but about.pas etc is a joke its just one long line :-)
0
ventolinAuthor Commented:
thanks for pointing that out...

how can i fix that? is there a tool i can get to change the CR charaters to the windows format you mentioned?
0
intheCommented:
im sorry as far as i am aware theres no tool apart from the enter key in notepad  .

ive looked at site all over and that is only delphi download (these is others for vb ,java ,unix platforms etc ..
http://download.jabber.org/

i would get in touch with people on the site they probably help you.
even to let them know of the problem exist.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.