http://bugs.winehq.org/show_bug.cgi?id=29448
--- Comment #14 from Anastasius Focht focht@gmx.net 2013-08-18 04:12:17 CDT --- Hello Dan,
that will do too. Though I prefer inlining the helper ('static inline BOOL ...').
Regarding "can't get as far with current SoftwareShield demo" ... what does that mean? I don't have a crystal ball...
I tested the 'iw4win.exe' executable from comment #11 (download, .NET 4.0 required) and it worked for me. Reverting patch to old behaviour gives the stack overflow/coredump.
There are multiple bugs for sure (even unrelated to protection scheme) and I'm not going to mix them all up here.
Regards