I already mapped filea into memory with VAST. It works but as far as I
can remember I had to bind some further windows api functions, or define
further constants in the pools. Ican't remember right now.
Am 09.07.2013 07:36, schrieb Wayne Johnston:
> I can't seem to find an existing way to find the checksum on a file in
> Windows (preferably via a primitive so it's efficient). A way to do
> it doesn't even seem to be built into Windows as far as I can tell.
> I'd like to do this without having to require new software on all of
> our client machines. Ideas? --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to va-smalltalk...@googlegroups.com.
> To post to this group, send email to va-sma...@googlegroups.com.
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Marten Feldtmann
unread,
Jul 9, 2013, 3:37:34 PM7/9/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to va-sma...@googlegroups.com
When thinking about crc32 (or as an alternative: adler) you should always consider zip/unzip libraries.
Since VA8.52 Instantiations has support for this. Look at:
MZDllCall>>crc32:buffer:length:
or
MSDllCall>>adler:buffer:length:
and when you notice the c example in the method you might implement this loop in Smalltalk and use this low level c call.