FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error 160 using borland make ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Error 160 using borland make ?
Posted: Mon Aug 25, 2014 01:55 PM
Hello,

after a Virus-scan with GDATA of system C:
I cannot use borlands make anymore.

There is a errormessage with code 160, that never happens before.
Maybe something missing now after the virus-scan ?
Is there a way to find out the meaning of code 160 ?

In Internet I found :
Borland may have patents and/or pending patent applications covering subject ....
159 Run-time errors 159 Logic errors 160 Planning a debugging strategy 160 ...

Before, I used my normal make-files with NO problems.

Using the batch-file included in /samples, the Exe-file is created ( without using make ).

using borland's make



batchfile from fivewin /samples



1. the Directory < IEUpdate > was empty and Make.exe wanted a file < Icacls.exe > from there.
2. I added this file and next I got error 160.



icacls is a command-line utility that can be used to modify NTFS file system permissions in
Windows Server 2003 SP2, Windows Server 2008, Windows Vista and Windows 7. It builds
on the functionality of similar previous utilities, including cacls, Xcacls.exe, Cacls.exe, and Xcacls.vbs.
With icacls, administrators can view or modify access control lists for files and folders,
to help understand and fix inherited permissions. Icacls inheritance options can be used to apply
permissions to parent and child objects throughout the file structure


any idea what happens, I don't understand why make.exe uses this file ?

best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error 160 using borland make ?
Posted: Mon Aug 25, 2014 09:28 PM

Uwe,

Could you try it with bcc582 ?

thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error 160 using borland make ?
Posted: Tue Aug 26, 2014 03:44 PM
GO.BAT

Code (fw): Select all Collapse
if not exist obj md obj
c:\bcc582\bin\MAKE -ftest.mak
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error 160 using borland make ?
Posted: Tue Aug 26, 2014 03:45 PM
TEST.MAK

Code (fw): Select all Collapse
#Borland make sample, (c) FiveTech Software 2005-2014 With xHarbour

HDIRL=c:\XHB280714
BCDIR=c:\BCC582
FWDIR=c:\FWH1306
 
#change these paths as needed
.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HDIRL)\include
.path.C   = .\
.path.rc  = .\
 
#important: Use Uppercase for filenames extensions, in the next two rules!
 
PRG =        \
TESTFX1.PRG  \
SEGUNDO.PRG

# Comentario
#REM ONE.PRG   \
#REM TWO.PRG   \
#REM THREE.PRG
 
C =          \
TESTFX1.C    \
SEGUNDO.C
 
PROJECT    : TESTFX1.exe
 
TESTFX1.exe : $(PRG:.PRG=.OBJ)
   echo off
   echo $(BCDIR)\lib\c0w32.obj         +  > b32.bc
   echo OBJ\TESTFX1.obj                 + >> b32.bc
   echo OBJ\SEGUNDO.obj,               + >> b32.bc
   echo TESTFX1.exe,                    + >> b32.bc
   echo TESTFX1.map,                    + >> b32.bc
   echo $(FWDIR)\lib\FiveHx.lib        + >> b32.bc
   echo $(FWDIR)\lib\FiveHC.lib        + >> b32.bc
   echo $(HDIRL)\lib\rtl.lib           + >> b32.bc
   echo $(HDIRL)\lib\vm.lib            + >> b32.bc
   echo $(HDIRL)\lib\gtgui.lib         + >> b32.bc
   echo $(HDIRL)\lib\lang.lib          + >> b32.bc
   echo $(HDIRL)\lib\codepage.lib      + >> b32.bc
   echo $(HDIRL)\lib\macro.lib         + >> b32.bc
   echo $(HDIRL)\lib\rdd.lib           + >> b32.bc
   echo $(HDIRL)\lib\dbfntx.lib        + >> b32.bc
   echo $(HDIRL)\lib\dbfcdx.lib        + >> b32.bc
   echo $(HDIRL)\lib\dbffpt.lib        + >> b32.bc
   echo $(HDIRL)\lib\hbsix.lib         + >> b32.bc
   echo $(HDIRL)\lib\debug.lib         + >> b32.bc
   echo $(HDIRL)\lib\common.lib        + >> b32.bc
   echo $(HDIRL)\lib\pp.lib            + >> b32.bc
   echo $(HDIRL)\lib\pcrepos.lib       + >> b32.bc
   echo $(HDIRL)\lib\ct.lib            + >> b32.bc
   echo $(HDIRL)\lib\zlib.lib          + >> b32.bc
   echo $(HDIRL)\lib\hbzip.lib         + >> b32.bc
   echo $(HDIRL)\lib\libmisc.lib       + >> b32.bc
   echo $(HDIRL)\lib\tip.lib           + >> b32.bc
   echo $(HDIRL)\lib\png.lib           + >> b32.bc
 
   echo $(BCDIR)\lib\cw32.lib          + >> b32.bc
   echo $(BCDIR)\lib\import32.lib      + >> b32.bc
   echo $(BCDIR)\lib\psdk\odbc32.lib   + >> b32.bc
   echo $(BCDIR)\lib\psdk\nddeapi.lib  + >> b32.bc
   echo $(BCDIR)\lib\psdk\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\psdk\msimg32.lib  + >> b32.bc
   echo $(BCDIR)\lib\psdk\psapi.lib    + >> b32.bc
   echo $(BCDIR)\lib\psdk\rasapi32.lib,  >> b32.bc
 
   IF EXIST TESTFX1.res  echo TESTFX1.res   >> b32.bc
      $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc

#  IF EXIST SEGUNDO.res echo SEGUNDO.res >> b32.bc
#     $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
 
#   del b32.bc
 
.PRG.OBJ:
  $(HDIRL)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HDIRL)\include
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HDIRL)\include -oobj\$& obj\$&.c
 
.C.OBJ:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HDIRL)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
 
  del tmp
 
TESTFX1.res : TESTFX1.rc
  $(BCDIR)\bin\brc32.exe -r TESTFX1.rc
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Error 160 using borland make ?
Posted: Wed Aug 27, 2014 01:40 PM
Antonio, Karinha
thank You very much.

The Icacls.exe was detected as dangerous and deleted :



A window-service-program is detected as a virus ?

I started a new Windows-refresh, because it was impossible to fix the error.

Karinha,
it is exaclly the make-file, I'm using all the time.

The error 160 is gone, it seems to work now again, but still one error is left I didn't notice before.
Next I created a new system-backup of the new install, not to get in trouble again.



maybe still something missing of the new install ?

best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Error 160 using borland make ?
Posted: Wed Aug 27, 2014 02:12 PM
http://www.takecarepc.com/fix-exe-error/icacls.exe-fix-1145/

Remove Virus urgent.

Compile in another uncontaminated machine.

use BCC582

here works perfect.

http://www.avira.com/pt-br/download?product=avira-free-antivirus

Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Error 160 using borland make ?
Posted: Thu Aug 28, 2014 02:12 PM

Thank You very much for the infos.

I GOT IT WORKING NOW !

It teached me again a lesson, not to test a unknown software on the main-computer.

GDATA virus-scan is OK now.
I did a new system-backup and a new external save of all important datas.

I hope, it doesn't happen again.

best regards
Uwe :oops:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1286
Joined: Mon Feb 25, 2008 02:54 PM
Re: Error 160 using borland make ?
Posted: Thu Jun 08, 2017 06:38 PM
Mr. Uwe, using GDATA antivirus he finds viruses in HARBOR for BCC73.

Vírus: Gen:Variant.Razy.8375 (Mecanismo A)

Ocorreu uma tentativa de acesso a um
arquivo infectado

Arquivo: hbcomm-32-bcc.dll
Diretório: C:\Users\Usuário\Downloads\harbour\bin

----------------

Vírus: Gen:Variant.Razy.105710 (Mecanismo A)

Ocorreu uma tentativa de acesso a um
arquivo infectado
.

Arquivo: hboslib-32-bcc.dll
Diretório: C:\Users\Usuário\Downloads\harbour\bin
-----------------

Vírus: Gen:Variant.Razy.102989 (Mecanismo A)

Ocorreu uma tentativa de acesso a um
arquivo infectado
.

Arquivo: rddsql-32-bcc.dll
Diretório: C:\Users\Usuário\Downloads\harbour\bin


ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin

Continue the discussion