http://bugs.winehq.org/show_bug.cgi?id=25364
--- Comment #9 from Alexey Loukianov mooroon2@mail.ru 2011-09-11 19:20:24 CDT --- Created an attachment (id=36331) --> (http://bugs.winehq.org/attachment.cgi?id=36331) Add set_new_handler support to Wine emulated MSVC++ 8.0 runtime
This quick-n-dirty and probably wrong patch adds "support" for std::set_new_handler to Wine's implementation of msvcp80. With this patch applied S.T.A.L.K.E.R:SoC starts up successfully and I've been able to play this game for several hours without a problem. Quick look at the msvcrt/heap.c suggests that at the moment MSVCRT_set_new_handler is broken by itself passing "NULL" instead of "func" to the private proc MSVCRT__set_new_handler.