harbour 1.1 rc and btnget

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

harbour 1.1 rc and btnget

Post by ShumingWang »

Hi,
Anyone could use btnget with harbour 1.1 rc ?
It' shows a run time error :

Error occurred at: 2007.11.20, 18:40:44
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = N 1

Stack Calls
===========
Called from: => TBTNGET(0)

makfile.bc:

INCLUDE_DIR = \borland\bcc55\include;\harbour\include;d:\fw711\include;.\include

BIN_DIR = \harbour\bin
OBJ_DIR = \contrib\btnget\obj
LIB_DIR = \contrib\btnget\lib

$(LIB_DIR)\btnget.lib :\
$(OBJ_DIR)\btnget.obj \
$(OBJ_DIR)\btndown.obj \
$(OBJ_DIR)\fwcal.obj \
$(OBJ_DIR)\zoomlbx.obj \
$(OBJ_DIR)\getbtn.obj \
$(OBJ_DIR)\fwbmp.obj

$(OBJ_DIR)\btnget.c : source\btnget.prg
$(OBJ_DIR)\btnget.obj : $(OBJ_DIR)\btnget.c

$(OBJ_DIR)\btndown.c : source\btndown.prg
$(OBJ_DIR)\btndown.obj : $(OBJ_DIR)\btndown.c

$(OBJ_DIR)\fwcal.c : source\fwcal.prg
$(OBJ_DIR)\fwcal.obj : $(OBJ_DIR)\fwcal.c

$(OBJ_DIR)\zoomlbx.c : source\zoomlbx.prg
$(OBJ_DIR)\zoomlbx.obj : $(OBJ_DIR)\zoomlbx.c

$(OBJ_DIR)\getbtn.obj : source\getbtn.c
$(OBJ_DIR)\fwbmp.obj : source\fwbmp.c

.c.obj:
\borland\bcc55\bin\bcc32 $(CLIBFLAGS) -c -O2 -I$(INCLUDE_DIR) -DHB_OS_WIN_32_USED -o$@ $<
\borland\bcc55\bin\tlib $(LIB_DIR)\btnget.lib -+$@,,

.prg.c:
$(BIN_DIR)\harbour.exe $< -q0 -es2 -gc0 -n -i$(INCLUDE_DIR) -o$@

Regards !
Shuming Wang
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Shuming,

Please compile that class with line numbers info, so you may find the source code for the error:

>
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = U
[ 2] = N 1
>

It looks as a number (1) is tried to be added to a nil value
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply