CRC32Fingerprint Question

Just starting out? Need help? Post your questions and find answers here.
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

Gnozal, can you email me your compiled exe for "quick and dirty command line zipper".
Thanks for all your trouble.
Paul.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:Gnozal, can you email me your compiled exe for "quick and dirty command line zipper".
Thanks for all your trouble.
Paul.
Sure, but I lost your E-Mail address. Could you PM it ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

Just tried again on a clean build pc. Same result. I notice you are NT4 SP6 - could this explain the difference. I am on windows XP Pro SP2
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:Just tried again on a clean build pc. Same result. I notice you are NT4 SP6 - could this explain the difference. I am on windows XP Pro SP2
With the EXEs I sent you ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

With the exe's you sent through the CRCs match.
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:With the exe's you sent through the CRCs match.
:shock:
So this means that the MiniZIP source doesn't compile correctly on your machine ?
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

It is a very strange one!!!

On two seperate XP machines in fact. These are my compiler settings...

Image

The CRC and path of Purebasic..
C:\Program Files\PureBasic4\purebasic.exe

CRC : 340aa5b3

CRC and Path for Purezip

C:\Program Files\PureBasic4\PureLibraries\UserLibraries\PureZIP

CRC : 861d3809


CRC of compiled EXE...
Yours: 104ac663
Mine: 757446ec

CRC of Example code (PureZIP_TEST_MiniZIP.pb) ...
99960cb9
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

I have compiled Minizip with PBIDE this time.
CRC wrote:; Generated by WIN-SFV32 v1.0
; (Compatible: Total Commander 6.54a)
MiniZIP.exe 6112F6E5
The jaPBe compiled EXE (the one I sent you) is different
offset $88 : E0 7C 8D for PBIDE
offset $88 : 30 78 89 for jaPBe
But, the generated archive is the same : no problem here.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

Just Tried compiling under jaPBe. Still the same result! I wonder if it is a Windows XP issue? Have you tried compiling under XP?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:Just Tried compiling under jaPBe. Still the same result! I wonder if it is a Windows XP issue? Have you tried compiling under XP?
Sorry, I don't have XP.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

Very wise :wink: I have just tried a third clean XP box & get exactly the same result. Using the very latest PB4 from the website & your PureZIP v1.30 from your homepage. Will have to throw out the gauntlet to other XP users to test.
Gnozal - thanks again for all the help.
PS do your purebasic program and purezip CRCs match mine?
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:PS do your purebasic program and purezip CRCs match mine?
Program : No !
PureZIP : Yes .
CRC wrote:MiniZIP.exe 6112F6E5 ; with PBIDE (size = 72704)
MiniZIP.exe 104AC663 ; with jaPBe (size = 72704)
PureZIP 861D3809 ; (size = 85426)
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
webbmeister
User
User
Posts: 62
Joined: Thu Mar 16, 2006 5:20 pm
Location: Sheffield, UK

Post by webbmeister »

I mean your purebasic.exe (ie purebasic 4)
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

webbmeister wrote:I mean your purebasic.exe (ie purebasic 4)
PureBasic.exe 340AA5B3
PBCompiler.exe C5B63C84
Database F00689A5
File 0F5B6329
FileSystem 0ECA987A
Gadget AF4ECE6D
Image 8E6ECAD7
Window 488A3164
Object E8E931CA
StatusBar ED784DB2
ToolBar AE75D099
Thread 298254CE
SysTray 1E8AFFC6
StringExtension 81969FCD
Sprite3D 5D21B683
Sprite 3264F0F5
Sound 465B9254
Sort 45DD8F30
Requester 59F508C5
SimpleList 6549F89A
Process 7E3A7E3D
Preference D4B66CFC
Printer 099BE589
Palette E1DA0A39
Packer 92F76ACD
Network 6315DF5C
MultimediaBase B21AB36D
Movie 8F37C227
Mouse 03104D68
Module 275A8A09
MemoryExtension 03796BC7
Mesh 175C3AE4
Terrain 718C3FEA
Texture B494AD6C
Light 6DDB579D
Material DC88D400
Camera 22DD4CD6
Memory 0DAD15D5
Menu 81BDBDA5
Misc2 A01EE97A
Library A76EEF09
Keyboard 7CF04A5E
Joystick 91D21C61
Help 7AFB57FE
Font 576D4D0A
Engine3D 0CE3725C
Entity B58F78AD
Desktop 4C2C3483
Date 12E8F4F8
Console 74D77B49
Clipboard 7E71C794
ClipboardImage 302A139D
Cipher CE9EEB5F
Billboard 573A0E55
AudioCD 3EA10301
2DDrawing 222E8864
String BC31141D
Screen 947F5BC8
ImagePluginPNG 77A2095D
SoundPluginOGG 26843D5E
Math D67B4576
ImagePluginJPEG AF784A45
CipherExtension 9FD651C8
LinkedList 82D633C8
ImagePluginTIFF 8DEF6292
ImagePlugin 225A39A0
Particle 86BBE2FF
Misc 0AC19ABE
LinkedListExtension F29342EF
World A2A36672
ImagePluginTGA FC8FDC52
OnError CF6E5FB2
SoundPlugin 7747F9D0
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 »

I just got your mail.
I compared your EXE and mine (same source compiled).
There is a difference :
- at offset 0B6C : 148 bytes are different
- before and after, it's identical !
And I confirm : if compacted with your EXE, the ZIP is valid but "Angry IP Scanner.exe" is missing the end of file (4096 bytes).

I can't explain this difference (same source, different EXE) !?
Maybe a PB bug ?

PS : did you get the latest beta libs (http://www.purebasic.com/beta) ?
It fixes some bugs, like the ReadFile()/Eof() bug.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Post Reply