Droopy's Lib

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Droopy's Lib

Post by Droopy »

New version here : Droopy's Lib

New Groups :
- Registry / File date / Ram Avalaible

Functions Added:
CheckForMedium
GetDriveVolumeName
GetDriveFileSystem
CreateShortcut
EmptyRecycleBin
FileGetTime
FileSetTime
DeleteFileToRecycleBin
GetCpuSpeed
GetFileAttributesText
GetProcessPid
GetProgramPath
GetProgramResult
GetPureBasicDirectoryInstallation
GetUserName
GlobalMemoryStatusMemoryLoad()
GlobalMemoryStatusTotalPhys()
GlobalMemoryStatusAvailPhys()
GlobalMemoryStatusTotalPageFile()
GlobalMemoryStatusAvailPageFile()
GlobalMemoryStatusTotalVirtual()
GlobalMemoryStatusAvailVirtual()
GUID
IsNetDrive
IsUserAnAdmin
KillProcess
NetUserAdd
NetUserDel
RegSetValue
RegGetValue
RegListSubKey
RegDeleteValue
RegCreateKey
RegDeleteKey
RegListSubValue
RegKeyExists
RegDeleteKeyWithAllSub
RegCreateKeyValue
RegValueExists
ShowDesktop

For people wich test my fist version, please delete :
PureBasic\PureLibraries\UserLibraries\Droopy's_Lib
PureBasic\Help\Droopy's_Lib.chm
cause I change the lib name.

Direct access of the Library Help ICI

Source code always include.

If you want to report bug / Improvement : Contact me at Descaves@Wanadoo.fr with "PureBasic" as Object
Last edited by Droopy on Fri May 20, 2005 11:01 pm, edited 1 time in total.
zikitrake
Addict
Addict
Posts: 868
Joined: Thu Mar 25, 2004 2:15 pm
Location: Spain

Post by zikitrake »

Thanks, Droopy. Is a very useful lib for me :D
PB 6.21 beta, PureVision User
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Version 1.2 UP

New function : BackgroundTransfert
Misc Windows Functions
Power System Status
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Updated to 1.21

Manage Flags in the registry
Send Mail
Get / Set Foreground Windows
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

Hello,

I think more explication in the documentation would be very nice. For example, we can read Flags, but what are flags in the registry?
Me, when I see Flag and Registry, it is ASM... but when I read and see in the parameters "Key.s" I am... confused!
For the install program, if you can do something it would be good... it would be nice if when we shoose the path for install the lib, the PureBasic folder would be selected be default and after, if it is not the right, we change it.
Thx in advance.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Flag is for easy managing preference in the registry
Key specify the registry key where preference are stored

I'll add this explication in the next release

For installation : The installer is from Num3 (http://io-soft.planetaclix.pt/)
and by default select the purebasic folder.

thanks
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

And again for the doc, explanations for parameters would be nice because there r confusions and parameters I don't understand for example in background transfert.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

added for next release :
BackgroundTransfertInit(SourceFile.s,DestinationFile.s,PacketSize,Frequency)

Copy SourceFile to DestinationFile.
Each Delay ( Frequency in ms) a part of the source is copied ( Part is PacketSize )
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Updated to 1.22

Function to measure code duration
Convert Byte/Word signed to unsigned
Xor Encoding
Know if a thread is running

+ Tweak added
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

A support of smtp authentication and parameters to add something to the mail header would be nice for the SendMail() function.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

The SendEmail code is from Paul Leischow.

At Work I don't need smtp authentication .

I don't know how works Smtp Authentication, and I don't need it now.
Last edited by Droopy on Sun May 22, 2005 8:12 pm, edited 1 time in total.
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

It was just a suggestion.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Gansta93 wrote:A support of smtp authentication and parameters to add something to the mail header would be nice for the SendMail() function.
FYI, PureSMTP supports both ( viewtopic.php?t=12752 ).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Droopy: Your library keeps getting better and better :D

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Version 1.23 is Up
  • Changelog :
    Bargraph Gadget
    SevenSegmentLed Gadget
    Graph Gadget
    New SendEmail with Authentification & Attachement
    RC4Encrypt & RC4Decrypt
    StringGadgetSetMaxChr / StringGadgetGetMaxChr
    Bin2Dec / Hex2Dec
Post Reply