Error 160 using borland make ?

Error 160 using borland make ?

Postby ukoenig » Mon Aug 25, 2014 1: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

Image

batchfile from fivewin /samples

Image

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.

Image

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 :?:
Last edited by ukoenig on Wed Aug 27, 2014 1:41 pm, edited 1 time in total.
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Error 160 using borland make ?

Postby Antonio Linares » Mon Aug 25, 2014 9:28 pm

Uwe,

Could you try it with bcc582 ?

thanks
regards, saludos

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

Re: Error 160 using borland make ?

Postby karinha » Tue Aug 26, 2014 3:44 pm

GO.BAT

Code: Select all  Expand view

if not exist obj md obj
c:\bcc582\bin\MAKE -ftest.mak
 
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7215
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error 160 using borland make ?

Postby karinha » Tue Aug 26, 2014 3:45 pm

TEST.MAK

Code: Select all  Expand view

#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
User avatar
karinha
 
Posts: 7215
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error 160 using borland make ?

Postby ukoenig » Wed Aug 27, 2014 1:40 pm

Antonio, Karinha
thank You very much.

The Icacls.exe was detected as dangerous and deleted :

Image

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.

Image

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Error 160 using borland make ?

Postby karinha » Wed Aug 27, 2014 2: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
User avatar
karinha
 
Posts: 7215
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error 160 using borland make ?

Postby ukoenig » Thu Aug 28, 2014 2: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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Error 160 using borland make ?

Postby MGA » Thu Jun 08, 2017 6: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


Image
ubiratanmga@gmail.com

FWH18.02
FWPPC
Harbour/xHarbour
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1234
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests