Best practice to prevent a zero divisor error?
Thanks in advance
Otto
errsysw
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Otto,
We have just published a new FWPPC build that properly manages the zero divisor error:
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
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: