It is currently Fri May 24, 2013 9:18 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 88 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Progi1984 - Programs & Userlibs
PostPosted: Mon Jan 15, 2007 3:57 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
A list of my prods in an alone thread :

Wrappers
GoogleCode : RWrappers
Code:
Collection of all RWrappers.

__________________________________________________________________________________________________________________
Userlibs
RImage_4_10.zip
Image
Size : 99Ko
Code:
Functions which allows you to extract some informations about images like BMP and JPeG

_______________________

RPack.zip
Image
Size : 72Ko
Code:
Management of TAR Files

_______________________

RTask_4_10.zip
Image
Size : 60Ko
Code:
Easy management of Windows Tasks (Windows only)

_______________________

RVersion_4_10.zip
Image
Size : 43Ko
Code:
Permits to get the version or the licence key of an installed software

_______________________

REventLog_4_10.zip
Image
Size : 85Ko
Code:
Permits you to read and write in the Windows EventLog.

_______________________

RLibPlus.zip
Image
Size : 360Ko
Code:
The old name for this userlib is LibEditorPlus. This userlib has been upgraded et is applied in others gadgets.

_______________________

RCam_0.1_V4.10.zip
Image
Size : 34Ko
Code:
Permits you to use webcams

__________________________________________________________________________________________________________________

RJSON.zip
Image
Size : 20Ko
Code:
Permits you to parse your JSON tree files in a PB XML Tree

__________________________________________________________________________________________________________________


Applications
ProgiRVB_1.0.zip
Image
Size : 99Ko
Code:
Software for color conversion

_______________________


Last edited by Progi1984 on Sun Sep 07, 2008 10:26 pm, edited 11 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 02, 2007 8:22 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Release of some userlibs (Compiled for 4.10 Beta 2):

Wrapper SQLite->DB_SQLite_0_1.zip
Image
Code:
Functions of the library Database but for SQLite


RImage->RImage_4_10.zip
Image
Code:
Functions which allows you to extract some informations about images like BMP and JPeG


RPack->RPack_4_10.zip
Image
Code:
Mamagement of TAR Files


RTask->RTask_4_10.zip
Image
Code:
Easy management of Windows Tasks (Windows only)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 1:29 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Oct 07, 2003 11:03 am
Posts: 119
Location: Bergen, Norway
Can't get your Rpack lib to work. :oops:
BTW all your constants return 0 (debug #RPack_Type_Tar)

Regards
Sveinung


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 2:37 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
OK...

Have you the RPack userlib in the directory PureLibraries\UserLibraries\ ?
Have you the RPack_Res.res in the directory Residents\ ?
Have you restart your PB compiler ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 2:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Oct 07, 2003 11:03 am
Posts: 119
Location: Bergen, Norway
Sorry! I missunderstod the doc. My misstake

Sveinung


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 3:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Oct 07, 2003 11:03 am
Posts: 119
Location: Bergen, Norway
And thank you for the lib :D

Sveinung


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 11, 2007 3:13 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
@Sveinung : so, i must explain better the installation of my differents lib... :)

Thank you for using it :)
And at the beginning of august, some others news :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 6:27 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Mon Jun 02, 2003 1:42 am
Posts: 2013
Location: Ashland, KY
Great stuff. Love the SQLite work.. Thank you!

_________________
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 29, 2007 4:12 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Mon Jun 02, 2003 1:42 am
Posts: 2013
Location: Ashland, KY
Any chance of a Unicode version of this SQLite lib?

I have some NULL values in int fields and such, and this code crashes with "invalid memory" :

Code:
ProcedureDLL.l SQLite_GetDatabaseLong(database.l, Column.l)
 
   Protected *self.S_SQLite_Object = DATABASE_ID(database)
 
  If *self
    
    Address = *self\Result_Handle
     AddrInc = *self\Result_Cols * 4
    
    If Column > *self\Result_Cols - 1
        Column = *self\Result_Cols -1
     EndIf
   
     If Column < 0
        Column = 0
     EndIf
     
    For Row.l  = 0 To *self\Result_Pos
         Address  + AddrInc
    Next
     
    ProcedureReturn Val(PeekS(PeekL(Address + Column  * 4)))
     
  EndIf
 
EndProcedure


I can understand why, too, since for NULL values there would be no value at the memory address specified.

Also, what's up with the peekl, peeks, then val()? Unicode related?

_________________
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 29, 2007 4:44 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Mon Jun 02, 2003 1:42 am
Posts: 2013
Location: Ashland, KY
The trick is to use MemoryStringLength in SQLite_GetDatabaseLong to test for a string of zero length before returning. That way you can handle NULLs in number columns.

Code:
ProcedureDLL.l SQLite_GetDatabaseLong(database.l, Column.l)
 
   Protected *self.S_SQLite_Object = DATABASE_ID(database)
 
  If *self
    
    Address = *self\Result_Handle
     AddrInc = *self\Result_Cols * 4
    
    If Column > *self\Result_Cols - 1
        Column = *self\Result_Cols -1
     EndIf
   
     If Column < 0
        Column = 0
     EndIf
     
    For Row.l  = 0 To *self\Result_Pos
         Address  + AddrInc
    Next
   
    peaked_long.l = PeekL(Address + Column  * 4)
   
    mem_length.l = MemoryStringLength(peaked_long)
   
    If mem_length > 0
     
      peaked_string.s = PeekS(peaked_long)
     
      val_peaked.l = Val(peaked_string)
   
      ProcedureReturn val_peaked
   
    Else
   
      ProcedureReturn 0
   
    EndIf
   
  EndIf
 
EndProcedure


Same with the Float returning functions, too.

_________________
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 29, 2007 6:47 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Sorry but I have two weeks of holidays....

And i 'm going to have at home Internet ...

So in a week, I work on it to release (if I arrive to do that) a Unicode version :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 29, 2007 8:16 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Mon Jun 02, 2003 1:42 am
Posts: 2013
Location: Ashland, KY
If you have anything started or any ideas as to what needs to be done please share them as I've already gotten started but admit I'm clueless about Unicode!

_________________
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 11:00 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Release of September 2007

Wrapper SQLite->DB_SQLite_0_2.zip
Image
Taille : 183Ko
Code:
Description : Functions of the library Database but for SQLite (with support Unicode)

_______________________

ProgiRVB->ProgiRVB_1.0.zip
Image
Taille : 99Ko
Code:
Software for color conversion

_______________________

Wrapper : HaruPDF->RWHaruPDF_2.0.8.zip
Image
Taille : 979Ko
Code:
Wrapper for HaruPDF ( http://libharu.sourceforge.net/ )

_______________________

Wrapper : ISL->RWISL_2.5.zip
Image
Taille : 198Ko
Code:
Wrapper for ISL (Images Style Library) ( http://www.paurex.com/?products&prod=isl )

_______________________

Wrapper : SDL->RWSDL_1.2.11.zip
Image
Taille : 1619Ko
Code:
Wrapper for SDL ( http://www.sdl.org )


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 10:30 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1496
Location: Nantes, France
nice progi1984, seems good.

_________________
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 07, 2007 11:13 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Apr 02, 2007 1:43 am
Posts: 627
Location: Brazil
Very good work, Progi1984.
You are restless. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 88 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye