PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Elias Montoya on November 05, 2013, 03:35:49 AM

Title: This produces a false positive.
Post by: Elias Montoya on November 05, 2013, 03:35:49 AM
 Can somebody compile this? my avast antivirus always complains that one of the temporary
PB compiler files is a positive for some kind of threat... here is a capture.

Nothing special in the project, just a timer and couple labels.

Title: Re: This produces a false positive.
Post by: Eddy Van Esch on November 05, 2013, 04:05:31 AM
Elias,
Your code compiles and runs fine with me. AV scanner: 'Total Defense', Win 7.

Kind regards
Title: Re: This produces a false positive.
Post by: Elias Montoya on November 05, 2013, 04:16:00 AM
Silly avast  :-\
Title: Re: This produces a false positive.
Post by: James Padgett on November 05, 2013, 07:07:47 AM
Virus scanners....  uuggg!!!!

They have to flag positives so you will think they work better than their competitions products...
Title: Re: This produces a false positive.
Post by: Eddy Van Esch on November 05, 2013, 07:22:50 AM
Quote from: James Padgett on November 05, 2013, 07:07:47 AM
Virus scanners....  uuggg!!!!
In many cases AV scanners are only slightly less annoying than the 'evil' they are trying to combat ..
Title: Re: This produces a false positive.
Post by: Joerg B. on November 05, 2013, 07:50:30 AM
Hello Elias

Your code compiles and runs fine with me. AV scanner: 'Kaspersky v14', Win XP Pro.
Title: Re: This produces a false positive.
Post by: Jim Dunn on November 05, 2013, 10:37:34 AM
Fine for me, using Microsoft Security Essentials on Win 7 Ultimate Dell OEM 64-bit.

I've found I can calm most AV programs using the following code at the top of my source, not sure where you would put it in Firefly...

%appmajor    = 1
%appminor    = 0
%apprevision = 0
%appbuild    = &H0000??
'$appversion  = "1.0.0.0"
$appname     = "PowerBASIC Application"
$appfilename = $appname + ".exe"
#RESOURCE VERSIONINFO
#RESOURCE FILEFLAGS  0
#RESOURCE FILEVERSION %appmajor, %appminor, %apprevision, %appbuild
#RESOURCE PRODUCTVERSION %appmajor, %appminor, %apprevision, %appbuild
#RESOURCE STRINGINFO "0409", "04B0"
#RESOURCE VERSION$ "Comments", "Comments"
#RESOURCE VERSION$ "CompanyName", "CompanyName"
#RESOURCE VERSION$ "FileDescription", "FileDescription"
'#RESOURCE VERSION$ "FileVersion", $appversion
#RESOURCE VERSION$ "InternalName", "InternalName"
#RESOURCE VERSION$ "LegalCopyright", "LegalCopyright"
#RESOURCE VERSION$ "LegalTrademarks", "LegalTrademarks"
#RESOURCE VERSION$ "OriginalFilename", $appfilename
#RESOURCE VERSION$ "ProductName", $appname
'#RESOURCE VERSION$ "ProductVersion", $appversion
#RESOURCE MANIFEST, 1, "D:\PB10\Include\Manifest.xml"
#DEBUG ERROR ON
'#DEBUG DISPLAY ON ' will stop ON ERROR from working
#COMPILE EXE
#DIM ALL
#OPTIMIZE SPEED
#REGISTER NONE
#TOOLS OFF
'#Break On
'#Console Off
#Compiler PBCC
#Compiler PBWin
'%unicode = 1
#INCLUDE "win32api.inc"

FUNCTION PBMAIN() AS LONG
'
END FUNCTION
Title: Re: This produces a false positive.
Post by: Robert Eaton on November 05, 2013, 01:00:45 PM
I  had that happen one time with Avast with a PB dll I wrote. It was a dll that I was distributed with a program.
Contacted Avast support and it was fixed in their virus definitions in about 24 hours.
Title: Re: This produces a false positive.
Post by: Elias Montoya on November 06, 2013, 05:32:39 PM
Am i the only one using avast here?  ;D
Title: Re: This produces a false positive.
Post by: José Roca on November 06, 2013, 06:07:59 PM
Quote from: Elias Montoya on November 06, 2013, 05:32:39 PM
Am i the only one using avast here?  ;D

Hopefully. Avast is going to become synonim of false positive. The title of this thread should be changed to "This produces an avast".
Title: Re: This produces a false positive.
Post by: David Warner on November 07, 2013, 09:05:53 AM
Quote from: Jose Roca on November 06, 2013, 06:07:59 PM
"This produces an avast".
Thanks Jose you just made me smile.  :)
Title: Re: This produces a false positive.
Post by: Paul Squires on November 07, 2013, 10:31:15 AM
Quote from: David Warner on November 07, 2013, 09:05:53 AM
Quote from: Jose Roca on November 06, 2013, 06:07:59 PM
"This produces an avast".
Thanks Jose you just made me smile.  :)

That one made me laugh too!