https://bugs.winehq.org/show_bug.cgi?id=52208
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to m0rvj from comment #8)
Created attachment 73045 [details] Terminal Output - Crash with patch
I build wine 7.15 with the patch. The app still crashes at the same point I think... terminal output attached.
Hi John,
If you`re reffering to the patch from comment 4 https://bugs.winehq.org/show_bug.cgi?id=52208#c4
then you should change the line
+@ stub WSCGetApplicationCategory(wstr long wstr long ptr ptr)
into
+@ stdcall WSCGetApplicationCategory(wstr long wstr long ptr ptr)
If the program is still not happy with it you might wanna change return value from 0 into the ones mentioned at https://docs.microsoft.com/en-us/windows/win32/api/ws2spi/nf-ws2spi-wscgetap...
like WSASERVICE_NOT_FOUND or whatever, just trial and error...
If program is still not happy , you could try return 0 and try initialize "out" parameters to some sane values like *pPermittedLspCategories = 0 or whatever (trial and error...) If that still doesn`t make the program happy it likely needs a real implementation (stub is not sufficient). Good luck ;)