Page 1 of 1

errsysw

Posted: Wed Mar 29, 2006 11:19 am
by Otto
Best practice to prevent a zero divisor error?

Thanks in advance
Otto

Posted: Wed Mar 29, 2006 4:25 pm
by Antonio Linares
Otto,

We have just published a new FWPPC build that properly manages the zero divisor error:

Code: Select all

   if oError:GenCode == EG_ZERODIV
      return 0
   end

Posted: Thu Mar 30, 2006 5:21 am
by Otto
With the new FWPP I get the following errors.
Regards
Otto
inventur.c
Creating library inventur.lib and object inventur.exp
FiveCEC.lib(DRIVES.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(CTRL2CHR.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(GETFILE.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(HARBOURC.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(MGETCREA.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(NOTIFY.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(WNDSAY.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(GETDLGIT.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(MOVETO.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(TEXT.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(WNDMOVE.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(FWBMP.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(FWCE.obj) : error LNK2019: unresolved external symbol hb_stackReturn
Item referenced in function "void __cdecl HB_FUN_WIDETOANSI(void)" (?HB_FUN_WIDETOANSI@@YAXXZ)
FiveCEC.lib(AYGSHELL.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(FONTS.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(WNDCENTE.obj) : error LNK2001: unresolved external symbol hb_stackReturnItem
FiveCEC.lib(FWCE.obj) : error LNK2019: unresolved external symbol hb_stackBaseItem referenced in function "void __cdecl HB_FUN_MSGINFO(void)" (?HB_FUN_MSGINFO@@YAXXZ)
inventur.exe : fatal error LNK1120: 2 unresolved externals

Posted: Thu Mar 30, 2006 6:34 am
by Antonio Linares
Otto,

You have to download Harbour too from the FWPPC download page and install it too.

Posted: Thu Mar 30, 2006 9:05 am
by Otto
Could you please check this.

Regards
Otto


Harbour Compiler Alpha build 45.0 (Flex)
Copyright 1999-2005, http://www.harbour-project.org/
Compiling 'inventur.prg' and generating preprocessed output to 'inventur.ppo'...

Lines 487, Functions/Procedures 11
Generating C source output to 'inventur.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.

inventur.c
Creating library inventur.lib and object inventur.exp
rdd.lib(dbf1.obj) : error LNK2019: unresolved external symbol hb_sxDeCrypt refer
enced in function hb_dbfGetRec
rdd.lib(dbf1.obj) : error LNK2019: unresolved external symbol hb_sxPtoD referenc
ed in function hb_dbfGetValue
dbffpt.lib(dbffpt1.obj) : error LNK2001: unresolved external symbol hb_sxPtoD
rdd.lib(dbf1.obj) : error LNK2019: unresolved external symbol hb_sxEnCrypt refer
enced in function hb_dbfPutRec
rdd.lib(dbf1.obj) : error LNK2019: unresolved external symbol hb_sxDtoP referenc
ed in function hb_dbfPutValue
dbffpt.lib(dbffpt1.obj) : error LNK2001: unresolved external symbol hb_sxDtoP
inventur.exe : fatal error LNK1120: 4 unresolved externals

Posted: Thu Mar 30, 2006 9:40 am
by Antonio Linares
Otto,

You have to link hbsix.lib too.

Posted: Thu Mar 30, 2006 2:21 pm
by Otto
Thank you.
All ok now.

Regards
Otto