http://bugs.winehq.org/show_bug.cgi?id=14781
Summary: Kontakt, Kore Player: crash on start Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: martin.profittlich@gmx.de
Created an attachment (id=15319) --> (http://bugs.winehq.org/attachment.cgi?id=15319) Let RegisterDeviceNotificationW behave like RegisterDeviceNotificationA
Kontakt 3.0.2, Kore Player 2.0.3 and probably more applications from Native Instruments crash on startup.
Both apps call RegisterDeviceNotificationW() before crashing. This is a stub and always returns 0 (=failure). RegisterDeviceNotificationA() behaves differently and returns a fake handle. When I change RegisterDeviceNotificationW() to match RegisterDeviceNotificationA()'s behavior, both apps work as expected (see patch).
Demo versions of those applications can be downloaded from www.native-instruments.com, but you need to register to obtain a download link.
http://bugs.winehq.org/show_bug.cgi?id=14781
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2008-08-06 13:40:43 --- Hi Martin, patches should go to wine-patches, they're not picked up here.
Also, + /*FIXME("(hwnd=%p, filter=%p,flags=0x%08x), STUB!\n", hRecepient,pNotificationFilter,dwFlags ); + return 0;*/
Just delete these lines, don't comment them out.
http://bugs.winehq.org/show_bug.cgi?id=14781
--- Comment #2 from Martin Profittlich martin.profittlich@gmx.de 2008-08-06 16:07:09 --- Thanks for the info, Juan. I sent the patch (minus the old code) to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=14781
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14781
Martin Profittlich martin.profittlich@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Martin Profittlich martin.profittlich@gmx.de 2008-09-02 14:28:17 --- Fixed in git.
http://bugs.winehq.org/show_bug.cgi?id=14781
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2008-09-05 10:39:37 --- Closing bugs fixed in 1.1.4.
http://bugs.winehq.org/show_bug.cgi?id=14781
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified