wqweto / ZipArchive

A single-class pure VB6 library for zip with ASM speed
MIT License
55 stars 24 forks source link

Source of the thunk code #19

Open bclothier opened 2 years ago

bclothier commented 2 years ago

This seem to use thunking to enable some of the functionality. I am assuming this is only going to work on 32-bit and a different thunking code (if even possible?) would be needed to run on 64-bit? If so , how was that derived?

wqweto commented 2 years ago

There is build.bat in lib/sshzlib and lib/codegen project which extracts the thunk to string.

x64 is possible as the thunk source is not in ASM but in C but will need testing and I'm not that familiar with x64 ASM (at all) calling conventions and everything else that needs to match.