errsysw

errsysw

Postby Otto » Wed Mar 29, 2006 11:19 am

Best practice to prevent a zero divisor error?

Thanks in advance
Otto
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Wed Mar 29, 2006 4:25 pm

Otto,

We have just published a new FWPPC build that properly manages the zero divisor error:
Code: Select all  Expand view  RUN
   if oError:GenCode == EG_ZERODIV
      return 0
   end
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Thu Mar 30, 2006 5:21 am

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
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Thu Mar 30, 2006 6:34 am

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

Postby Otto » Thu Mar 30, 2006 9:05 am

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
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Thu Mar 30, 2006 9:40 am

Otto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Thu Mar 30, 2006 2:21 pm

Thank you.
All ok now.

Regards
Otto
User avatar
Otto
 
Posts: 6346
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 8 guests