Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CRC32 returns negative on big files
Message
From
01/08/2011 09:59:54
 
 
To
01/08/2011 09:57:10
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01519635
Message ID:
01519809
Views:
20
>(1) CRC32VFP()
>Is the part of the filename a val(crc32) from vfp? Then it will be unsigned. So, have your .net class return a UInteger and interprete the part of the filename as UInteger
>
>That way, you can compare UInteger and UInteger types

CRC32VFP is a proposed name of a class I would have to use to obtain the equivalent of what VFP does. After more research, it turns out that the way they do it is like this:
lcCRC32 = SYS(2007, lcFileData, 0, 1)
So, I am not sure I can get an equivalent of that in .NET.

Is that Polynomal PKZip CRC complaint BTW? If yes, with that, they never get negative values.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform