[Bug 21099] New: Please fix unimplemented GetGuiResources (dont return 0)
http://bugs.winehq.org/show_bug.cgi?id=21099 Summary: Please fix unimplemented GetGuiResources (dont return 0) Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: sbastig(a)gmx.net Created an attachment (id=25320) --> (http://bugs.winehq.org/attachment.cgi?id=25320) Patch to return 1 instead of 0 Remarks A process without a graphical user interface does not use GUI resources, therefore, GetGuiResources will return zero. GR_GDIOBJECTS 0 -- Return the count of GDI objects. GR_GDIOBJECTS_PEAK 2 -- Return the peak count of GDI objects. (Win 7 Only) ... http://msdn.microsoft.com/en-us/library/ms683192%28VS.85%29.aspx As this function is not implemented for the time being it might be usefull to return 1 or a value greater than 0. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 LanoxxthShaddow <sbastig(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Difficulty|--- |Minutes -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-12-20 18:16:30 --- Is there a real application that depends on it? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Please fix unimplemented |Please fix unimplemented |GetGuiResources (dont |GetGuiResources |return 0) | Difficulty|Minutes |--- --- Comment #2 from Vitaliy Margolen <vitaliy(a)kievinfo.com> 2009-12-20 22:38:12 ---
From the link you provided: If the function fails, the return value is zero. To get extended error information, call GetLastError.
On Wine function fails and last error is set to ERROR_CALL_NOT_IMPLEMENTED. Seems like a bug in your program. However function is still not implemented. But you'll have to provide a real app that uses this. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 --- Comment #3 from LanoxxthShaddow <sbastig(a)gmx.net> 2009-12-21 05:36:55 --- Hmm, I thought yesterday that thunderbird doenst work due to this function. But today I got it to work somehow. So maybe it was some other problem. Anyway I always got: fixme:resource:GetGuiResources (0xffffffff,0): stub When starting Thunderbird 3.0 -- however since it works now you may also close the bug as invalid. sorry for the trouble. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-12-21 05:38:52 --- (In reply to comment #3)
Hmm, I thought yesterday that thunderbird doenst work due to this function. But today I got it to work somehow. So maybe it was some other problem. Anyway I always got:
fixme:resource:GetGuiResources (0xffffffff,0): stub
Fixmes don't always cause troubles.
When starting Thunderbird 3.0 -- however since it works now you may also close the bug as invalid. sorry for the trouble.
Ok. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21099 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Nikolay Sivov <bunglehead(a)gmail.com> 2009-12-21 05:39:02 --- Closing. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org