Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CRC32 returns negative on big files
Message
From
01/08/2011 13:14:51
 
 
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:
01519828
Views:
19
>>>>I cannot see any harm in adding one method to your existing class
>>>
>>>It was causing too many other changes elsewhere. As I mentioned, it would have required another Initialize() method just to support that and additional properties.
>>
>>
>>No, the initialize() method and the properties all stay the same
>>
>>
>>The new method calls the existing method and converts the result to UInteger
>
>I'm going to leave you two to it - I've got 2-3 weeks vacation starting tomorrow :-}
>
>FWIW, I agree with you, Michel could leave is current class code intact and simply add a method to return the result as UInt32 when that is required.....


Yes, by the looks of it, the value is stored in a property of the class. Another property can be easily added. Then the method could update the two properties and the caller picks either of the two properties


Have a nice vacation, Viv
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform