errsysw

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

errsysw

Post by Otto »

Best practice to prevent a zero divisor error?

Thanks in advance
Otto
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Otto,

You have to link hbsix.lib too.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Thank you.
All ok now.

Regards
Otto
Post Reply