DroopyLib (HMod version)

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:

DroopyLib (HMod version)

Post by Droopy »

Hello
The DroopyLib is now avalaible as module with help file in hmod format.
Regards
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Re: DroopyLib (HMod version)

Post by yrreti »

Hi Droopy

When ever you have a little time, and I'd be most grateful.
I'm really new to building a web site, and yours is so simple, done well, and right to the point.
I like it. Could you please point me to somewhere that shows how to do it like you did?
Or show me how you did it. Also, how do you secure it so that no one can tamper with your site?
That has always been a big concern of mine. That some one downloads a program that I wrote
that had been tampered with malware. If your busy I understand. But I have always liked your
simple site for the reasons above.

Thank you for any help in this direction.

yrreti
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Re: DroopyLib (HMod version)

Post by Droopy »

@yretti
I just create a html file with notepad, and upload files with Filezilla.
marroh
User
User
Posts: 72
Joined: Wed Aug 06, 2008 8:21 am

Re: DroopyLib (HMod version)

Post by marroh »

Droopy wrote:Hello
The DroopyLib is now avalaible as module with help file in hmod format.
Regards
Cool - Thank you!

:P
PureBASIC v5.41 LTS , Windows v8.1 x64
Forget UNICODE - Keep it BASIC !
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Re: DroopyLib (HMod version)

Post by Droopy »

Hello, small update :
23 November 2013 : Library 5.21.003
DeleteUrlCacheEntry() Function added
UnlockUrlCacheEntryFile() Function added
ShowResource() Function added
ShowResourceEx() Function added
GetCurrentPid() Function added
GetParentPid() Function added
IsFileUnlocked() Function added
GetCommandLine() Function added
WaitingWindow2 Tips added

23 November 2013 : Library 5.21.002
Usage / Autocompletion changed
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: DroopyLib (HMod version)

Post by jassing »

Thank you for time & efforts keeping this project going!
marroh
User
User
Posts: 72
Joined: Wed Aug 06, 2008 8:21 am

Re: DroopyLib (HMod version)

Post by marroh »

Droopy wrote:Hello, small update
Again thank you.

:D
PureBASIC v5.41 LTS , Windows v8.1 x64
Forget UNICODE - Keep it BASIC !
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: DroopyLib (HMod version)

Post by Rinzwind »

When I try to use the Droopy lib in the latest Purebasic compiler I get:

---------------------------
PureBasic
---------------------------
PureBasic library missing: Misc (needed by 'Droopy' library).
---------------------------
OK
---------------------------

Misc isn't there anymore as I unsterstood.. http://www.purebasic.fr/english/viewtop ... 13&t=55120

Can you create a new version that works with 5.21 LTS? Thanks!
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: DroopyLib (HMod version)

Post by Bisonte »

Rinzwind wrote:Can you create a new version that works with 5.21 LTS? Thanks!
For this case Droopy included the latest "DroopyLib" as source (for PB 5.21 as a module) !
So you don't need to compile it as "Library", you can include it... ;)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: DroopyLib (HMod version)

Post by Rinzwind »

I do probably something wrong...

but I tried the module approach.
XIncludeFile "C:\Program Files (x86)\PureBasic\hmod\DroopyLib.pbi"
UseModule DroopyLib

I get:

---------------------------
PureBasic
---------------------------
Line 25: Invalid name: same as a command (from library 'Droopy').
---------------------------
OK
---------------------------

on Declare StringToOem(StringAddress) in DroopyLib.pbi
etc.

I already deleted the compiled lib files from the pure basic folders...
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: DroopyLib (HMod version)

Post by Bisonte »

you have to delete the droopylib from your PureBasicLibraries folder and the resident file (if there is one) from the Resident folder.

after that you have to restart the ide.
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: DroopyLib (HMod version)

Post by Rinzwind »

I completely uninstalled PureBasic and deleted the program folder, still getting the same error in the 32 bit version only...
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: DroopyLib (HMod version)

Post by Rinzwind »

Found the problem...
There was some old virtualization folder in Windows 7 from an older version...
%localappdata%\VirtualStore\Program Files (x86)\PureBasic
Deleted it, problem fixed.
Thanks
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Re: DroopyLib (HMod version)

Post by Droopy »

Hello, TailHMod changed, just a bug fix.
TailHMod should now works with x64 version of PureBasic.
staringfrog
User
User
Posts: 58
Joined: Wed Feb 27, 2013 9:36 am

Re: DroopyLib (HMod version)

Post by staringfrog »

DocumentAndSettings is in fact DocumentsAndSettings

I understand changing the function name may break back-compatibility, but at least you might correct the description, to reduce any possible ambiguity.
DocumentAndSettings
Returns Documents and Settings Folder

Code: Select all

Procedure.s DocumentAndSettings() 
  ProcedureReturn Left(GetEnvironmentVariable("USERPROFILE"),FindString(GetEnvironmentVariable("USERPROFILE"),"\",4))
EndProcedure
P.S. And of course it's a great PB library/cookbook (as it is known to be) and highly convenient module to use with PB. I only wonder if, "alternatively to the alternative", it can also be compiled as .chm reference (probably not, but anyways)
Coding's men's knitwork.
Post Reply