IonicWind Software

IWBasic => General Questions => Topic started by: obelisk on September 19, 2010, 03:16:41 PM

Title: Error compiling an old project
Post by: obelisk on September 19, 2010, 03:16:41 PM
Hi

I have a project that was created around 4 years ago. Everything compiled fine back then. I opened it today and recompiled and I get the following error:

-----------------------------------------------------------------------------------------------------------------------
Compiling Resources...
No Errors

Compiling...
BCalc.eba
File: C:\Program Files\EBDev\Work\BCalc\BCalc.eba (11) duplicate ID - 0xFFFFFDD9
Error(s) in compiling "C:\Program Files\EBDev\Work\BCalc\BCalc.eba"
Build Failed

-----------------------------------------------------------------------------------------------------------------------

Below is the beginning of the code where the line with the error is.



$MAIN
const statBar = 1000
def d1,about : Dialog
def run : int
def tc: uint
def TEMP: int
setid "TCM_INSERTITEM",0x1307
setid "TCN_SELCHANGE",0xFFFFFDD9
setid "TCM_GETCURSEL",4875
AUTODEFINE "OFF"
...


I haven't changed anything in the code. Can anyone point me in the right direction.

Thanks
Title: Re: Error compiling an old project
Post by: LarryMc on September 19, 2010, 03:24:38 PM
Possible it is due to Bevet's Control Pak being added to the language.  It contains support for the TabControl.
(Added in version 1.63 in June 2008)

Just comment out the offending SETID and see if it compiles and runs properly.

LarryMc
Title: Re: Error compiling an old project
Post by: obelisk on September 19, 2010, 03:30:33 PM
Thank you for the quick reply

I tried that and I get the following errors.

Compiling Resources...
No Errors

Compiling...
BCalc.eba
nasm: error: more than one input file specified
nasm: error: more than one input file specified
nasm: error: more than one input file specified
type `nasm -h' for help
Error(s) in assembling "C:\Program Files\EBDev\Work\BCalc\BCalc.a"
Build Failed
Title: Re: Error compiling an old project
Post by: sapero on September 19, 2010, 04:03:00 PM
If you have a project, open project options, or when compiling without project, click compile.
In this dialog click Advanced button, and clear Assembler options.
Title: Re: Error compiling an old project
Post by: obelisk on September 19, 2010, 04:12:01 PM
That worked!

Thank you so much