Search found 68 matches

by moob
Sun Aug 31, 2014 4:05 pm
Forum: Feature Requests and Wishlists
Topic: Update the gadgets and IDE and Form Creator
Replies: 25
Views: 8207

Re: Update the gadgets and IDE and Form Creator

> why the numbers of PB is on the right?

Probably to match Mac/Linux. Remember, each gadget in PureBasic
has to be cross-platform and match the other operating systems.
Nothing is Windows-specific unless you force it with API tweaks.

> the Gadgets on PB is not update or added new Gadgets or new ...
by moob
Sun Aug 31, 2014 6:55 am
Forum: Feature Requests and Wishlists
Topic: Update the gadgets and IDE and Form Creator
Replies: 25
Views: 8207

Re: Update the gadgets or add more functions

@moob

Personally I prefer the way the gadgets are, however, just add the number of spaces you require, after the number:

If OpenWindow(0, 0, 0, 140, 70, "SpinGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SpinGadget (0, 20, 20, 100, 25, 0, 1000)
SetGadgetState (0, 5 ...
by moob
Sun Aug 31, 2014 6:04 am
Forum: Feature Requests and Wishlists
Topic: Update the gadgets and IDE and Form Creator
Replies: 25
Views: 8207

Re: Update the gadgets and IDE and Form Creator

PB 5.30

http://i.imgur.com/6cNlipV.png


VS 2013

http://i.imgur.com/Vp2WQZc.png


why the numbers of PB is on the right?


So, why update PB if you can do the things easily by windows API?

the Gadgets on PB is not update or added new Gadgets or new functions for years.

statusbar, listicon ...
by moob
Sat Aug 30, 2014 7:31 am
Forum: Feature Requests and Wishlists
Topic: Update the gadgets and IDE and Form Creator
Replies: 25
Views: 8207

Update the gadgets and IDE and Form Creator

hi...

the gadgets is very old you need update them and add more functions.

gadgets like SpinGadget, ListIcon and others need an update to have a modern look or giving more functions.

SpinGadget like this http://i.imgur.com/umCstMu.png and so on

you have paid little attention to the gadgets ...
by moob
Tue Oct 22, 2013 2:05 am
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Ok, a whole new approach.

Thunder93 or skywalk can you confirm the following with me?..

Please download my DLL version of the code (a couple posts back). Next if you don't already have it (but I bet you do) download and install GIMP: http://www.gimp.org/ . This next part you will probably need ...
by moob
Mon Oct 21, 2013 8:11 am
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Hi moob,

Can you download it again and run it in debug mode... let me know if you get a Hash MATCH?
- I included a Hash Fingerprint comparison
- run it exactly as is, using the supplied DLL

MATCH:
8e8c5f619da1de67d67480671fc2827c
8e8c5f619da1de67d67480671fc2827c

but the dds compressed file ...
by moob
Mon Oct 21, 2013 7:49 am
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Hi moob,

Please try the following - it's a DLL version of the code: https://www.dropbox.com/s/c13ycz7n4fxa923/ZLib-DLL.zip
- unzip folder
- zlib1.dll included
- original Structure restored (I believe the DLL is 32bit only)
- run: test.pb

Note: LengthToWrite = DeflateBound(@strm, LengthToRead ...
by moob
Mon Oct 21, 2013 12:48 am
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

I think the version zlib of PB 5.00 is 1.2.5 or 1.2.6 or more older

Not version 1.2.8

has you can see here http://zlib.net/ChangeLog.txt

'#ZLIB_VERSION = "1.2.8"' this in the code is not the problem? since the version of PB 5.00 is 1.2.5 or 1.2.6 or more older???

the functions are diferent in ...
by moob
Sun Oct 20, 2013 9:22 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Thunder93 wrote:zlib 1.2.8 - April 28, 2013 release

Version 5.20 of PB included then the updated / latest zlib

17 September 2013 : Version 5.20
- Updated: zlib to 1.2.8

How can I see the version of zlib in PB 5.00??
by moob
Sun Oct 20, 2013 9:15 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Thunder93 wrote:moob said he is using external zlib.dll ?

No not now, I have test with external zlib.dll too and not work either
by moob
Sun Oct 20, 2013 9:14 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Thunder93 your Structure works great, but so did all the other ones... moob is using PureBasic 32bit; we also had partial success when he compressed a text file - so the problems now are confusing?

the version of zlib in PB 5.00 is the same of PB 5.20???

this code here in multi examples you have ...
by moob
Sun Oct 20, 2013 8:53 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

One more thing to try:

Change your code to the following:
*Payload = DeflatePayload(*Input, -15)
*Output = InflatePayload(*Payload, -15)
Don't worry that the compressed .dds file cannot be opened like a .gz file... this is raw deflate.
- the inflated file should be identical to the original ...
by moob
Sun Oct 20, 2013 7:11 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Are you sure you using exactly the following to work for both PB x64 and x86?

Structure Z_STREAM
*next_in.Byte
avail_in.l
total_in.l
*next_out.Byte
avail_out.l
total_out.l
*msg.Byte
*state
zalloc.l
zfree.l
opaque.l

CompilerIf #PB_Compiler_Processor = #PB_Processor_x64
PB ...
by moob
Sun Oct 20, 2013 5:52 pm
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

Thunder93 and JHPJHP

Not work the continues corrupt

I'm use PB 5.00 x86 under windows 8 x64

Why 'gz'? #ENABLE_GZIP is the same of ZLIB compression??


Why create test.gz and not compressed dds?

When I compress with external program the compessed file size is 107 KB and work very well

with this ...
by moob
Sun Oct 20, 2013 5:06 am
Forum: Coding Questions
Topic: How to compress with zlib
Replies: 84
Views: 34001

Re: How to compress with zlib

'Align' keyword support for structure was introduced w/Version 5.10 of PB and moob using 5.00. I can't personally imagine not updating already or installing the later versions along side of that current version.

If moob is coding under x64 system, you'll have to have two source files one with and ...