Droopy's Lib

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

I'd love to test it.
What's new besides No-SubSystem?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

At the moment, just the bugfixes and my hotkey commands have been modded to be able to return a #PB_event_menu event.

download link for anyone who wants to try: http://downloads.sourceforge.net/droopy ... s_beta.zip

Remove ALL 'Droopy' files from userlibs and subsystems directories.
Then place the correct file from the zip file in your purelibraries\userlibraries dir. You shouldn't need to rename it, unless you have problems.
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

DroopyLib + PB430(FTP Command) = False Virus

Post by zikitrake »

DroopyLib + PB430(FTP Command) = False Virus

:? Try this code:

Code: Select all

XIncludeFile "D:\LIBS_SRC\droopy.pb"

Download.b = #True

InitNetwork()

idFTP = OpenFTP(#PB_Any,"MyServer", "MyUser", "MyPass",1)

If idFTP 
  If Download
    ReceiveFTPFile(idFTP,"AFile.txt", "MyDestination")
  Else ;Upload
    SendFTPFile(idFTP, "FileOrigin", "FileDest")
  EndIf
  CloseFTP(idFTP)
EndIf
NOD32 Antivir reports a NewHeur_PE Virus (false positive); and in Http:www.virustotal.com, there are too many Antivirs with this false positive.

Any Solution?,

Thank you![/url]
PB 6.21 beta, PureVision User
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

Unfortunately for this kind of problem, the only thing you can do is when you discover it, report it to the virus detection companies yourself as a false positive.
Heuristics are a bitch to all us programmers.

Do you get the same error using Droopy's Lib as a UserLib? (instead of as an include)



[Paranoid Sarcasm]
I swear those virus detection programs are all out to get me.
I've never had any false positives from my work except in the past month or so...
[/Paranoid Sarcasm]
:lol:
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
zikitrake
Addict
Addict
Posts: 875
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

lexvictory wrote:Do you get the same error using Droopy's Lib as a UserLib? (instead of as an include)
Thank you for reply!... Yes, same results with userlib (normal/thread/unicode).

I got these false positives with NOD32 and Kaspersky, but now I solve the problem with a little modify on Droopy functions EnumProcessInit() & EnumProcess() :

Code: Select all

; --- My Source: zikitrake.pb -----
#CODIGOFUENTE = "zikitrake.pb"
IncludeFile "droopy.pb"

Code: Select all

; ----- Droopy lib -----
ProcedureDLL EnumProcessInit() 
  
  CompilerIf #CODIGOFUENTE <> "zikitrake.pb"
     ....
  CompilerEndIf

EndProcedure
PB 6.21 beta, PureVision User
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: Droopy's Lib

Post by SFSxOI »

Yes, its an old thread, I know. But its the one to ask in I guess. Will the Droopy Library be updated to work with PB 4.40?

Thanks :)
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Re: Droopy's Lib

Post by lexvictory »

yes it will. next week at the latest it should be ready
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: Droopy's Lib

Post by SFSxOI »

Great! Looking forward to it. Thanks for the reply :)
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Re: Droopy's Lib

Post by lexvictory »

done, see announcement topic
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
User avatar
Frontier
User
User
Posts: 74
Joined: Thu Dec 22, 2005 2:43 pm
Location: Chios, Greece
Contact:

Re: Droopy's Lib

Post by Frontier »

Hello,

Thank you for updating Droopy's Lib for 4.40.

I would like to ask if the LogInit() and LogWriteString() functions work, because on my setup they don't.
LogInit() does not create the logfile and LogWriteString() does not add lines to an existing log file.
The problem seems to be in the MakeSureDirectoryPathExists() function; it returns 0 no matter what.
It can be fixed by substituting the MakeSureDirectoryPathExists() function with MakeSureDirectoryPathExists_().

Many thanks in advance.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Re: Droopy's Lib

Post by lexvictory »

Frontier wrote:It can be fixed by substituting the MakeSureDirectoryPathExists() function with MakeSureDirectoryPathExists_().
I will have a look when I get time (may not be for a few weeks).
MakeSureDirectoryPathExists() was changed because MakeSureDirectoryPathExists_() does not exist in some versions of windows, or does not work in unicode - I can't remember exactly, but think it was more the Unicode issue.

Try using compiling your app with Unicode enabled and it may well work
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Post Reply