PureFILE library : WinAPI based file functions

All PureFORM, JaPBe, Libs and useful code maintained by gnozal

Moderator: gnozal

gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Bug fix (Both versions)

- Fixed a problem with #PB_Any

The PB4.00 PureFILE version is only provided for compatibility reasons.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- updated PB folder detection for PB4.10 beta 4
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Post by kinglestat »

PureFILE bug

Code: Select all

a1.s = "c:\2007\SOURCES\Backups\txt-gen-v12.pb.220.bak"

If PureFILE_MatchWildcard ( a1, "*.bak" ) = #True
  Debug "its a match!"
EndIf

If PureFILE_MatchWildcard ( a1, "*.*.bak" ) = #True
  Debug "its a match!"
EndIf

If PureFILE_MatchWildcard ( a1, "*bak" ) = #True
  Debug "its a match!"
EndIf
will not match any 1 of them....
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

kinglestat wrote:PureFILE bug

will not match any 1 of them....
Probably because of the multiple '.' in the filename.
Will have a look, when I have some time.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

Changes :
- updated PureFILE_MatchWildcard()
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Post by kinglestat »

thanks!
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update

(PB 4.2x version only)

Changes :
- recompiled with PB 4.20 beta 6
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Update (PB4.20 version only)

Changes :
Recompiled for PB4.20 final with 'exported string function fix'

See this thread for more information : http://www.purebasic.fr/english/viewtop ... 0&start=18

<EDIT>
Update : updated PB folder detection code (all versions)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply