|
Replies:
1
-
Pages:
1
-
Last Post:
Dec 19, 2011 12:31 PM
by: Valentine
|
|
|
Posts:
1
Registered:
12/16/11
|
|
|
|
BUG: Opening the File menu on Windows 8 Developer Preview
Posted:
Dec 16, 2011 10:27 PM
|
|
|
Hello, I recently installed TOAD for SQL Server on a copy of Win8 DevPreview, and ran into a with opening the File menu (happens in a few more places too, actually. 3 others, by my count). I don't have the stack trace here, but being helpful as I am, I did open toad in Reflector and found the problem:
In Quest.Toad.Gui.SendToMenu.GetSystemImages, ShellApi.ImageList_GetIcon sometimes returns an IntPtr.Zero, and so Icon.FromHandle(handle) fails (which is what the exception in the stack trace refers to). Adding a simple check like ( if(handle==IntPtr.Zero) continue; ) fixes the problem.
Question is: when can we expect an official fix for this? Win8 is not even a beta, so I can understand unwillingness to fix anything related to it, but hey, the fix is right here :)
|
|
|
Posts:
437
Registered:
12/7/06
|
|
|
|
Re: BUG: Opening the File menu on Windows 8 Developer Preview
Posted:
Dec 19, 2011 12:31 PM
in response to: aasoft
|
|
|
Hi aasoft,
I didn't try Toad on win8 yet, but I'm taking your findings and going to apply the fix as per your suggestion to the code so starting the next beta it should work. Not sure I will check it on win8 before the beta =)
|
Regards, Valentine
/R&D @ DELL
|
|
|
Legend
|
|
Guru: 2001
+
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|