Illegal Character in DEF File Error

Illegal Character in DEF File Error

Postby James Bott » Fri Mar 03, 2006 6:38 pm

I am trying to compile an appliction that I have compiled before. Now I am getting this error:

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Tussman.res(1):'Invalid character in .DEF file'
Fatal: Error processing .DEF file

There is a Tussman.rc file that is converted to Tussman.res by the resource compiler. I can't find a .DEF file anywhere.

I gradually deleted everything in the RC file until it was empty and I still get the same error. After I removed both the RC and RES files, then it compiles without error.

Any ideas? What is a .DEF file?

I am using the buildh.bat file, with slight modifications to include a couple of extra OBJs.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Illegal Character in DEF File Error

Postby Enrico Maria Giordano » Fri Mar 03, 2006 8:07 pm

If I remember correctly, a DEF file is a 16 bit stuff. You might have mixed the batch files.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8398
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Fri Mar 03, 2006 10:05 pm

James,

It may be an extra or a missing "," when calling the linker. Please let us see how you call the linker.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41449
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Fri Mar 03, 2006 10:40 pm

Antonio,

Yeah, a missing comma it was. I would have never thought of that.

Thanks,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby R.F. » Sat Mar 04, 2006 6:04 am

[quote="
Yeah, a missing comma it was....[/quote]

You sound like Master Yoda of StarWars :D
Saludos
R.F.
R.F.
 
Posts: 840
Joined: Thu Oct 13, 2005 7:05 pm

Postby Enrico Maria Giordano » Sat Mar 04, 2006 9:50 am

RF wrote:
Yeah, a missing comma it was....


You sound like Master Yoda of StarWars :D


:D

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8398
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 111 guests