ghisler(Author) wrote:The function is probably not declared correctly, it must be declared as stdcall.
No, that wasn't it this time - it was even simpler - my first version was thus:
procedure SetProcessDataProc(hArcData: THandle; var ProcessDataProc: TProcessDataProc); stdcall; export;
When I turned it into this, it worked:
procedure SetProcessDataProc(hArcData: THandle; ProcessDataProc: TProcessDataProc); stdcall; export;
ghisler(Author) wrote:Btw, please make sure that you don't have any buffer overflow vulnerabilities in the server! There should also be some user name/password authentication.
As I said in another message, the server side code has no security at all - I've been using a .htaccess apache file for that.
And the server doesn't get the file to be unpacked by HTTP, since my (and probably other) web server has a ridiculously low upload limit. It reads the file to be unpacked from local disk, so one has to upload the file using FTP or some other means and then run the script to unpack it.
I've already release the first beta, as per this post:
http://www.ghisler.ch/board/viewtopic.php?t=8130