October 30, 2025, 11:20:52 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Error compiling an old project

Started by obelisk, September 19, 2010, 03:16:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

obelisk

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

LarryMc

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
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

obelisk

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

sapero

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.

obelisk