I did, I have tried both your suggestions.
What ever you do. any thing after the @ sign gets truncated in the import process and will not Reach the Import table.
Note that in any way we need a split. asm(.data section) needs a none-decorated name and the Import table needs a Decorated one. What ever you do to winebuild it will not write two separate names. right?
Or maybe it is my 2-month old wine? was that fixed lately?
Dmitry Timoshkov wrote:
"Boaz Harrosh" boaz@hishome.net wrote:
I tried Dmitry's solution but it does not work.
You have to put approximately following in the .spec file to make it work:
foo.dll.spec : @ stdcall fnFooSTD@8(long long) _fnFooSTD@8
or try do add @8 twice on one/both of the sides. That's a pure speculation on my side, you have to try it on your own and experiment a bit.