Migrating from VA 7.5.1 to 8.5.1, I got our client application working great, even when packaged. However there's an error in the standard output (Transcript):
"Windows CommonControls failed to initialize properly." Our client executable is a renamed nodialog.exe, and placing a similarly-renamed nodialog.exe.manifest in the runtime bin (or start-in) directory doesn't help. I don't see any visual change, but the error message is still there. Our product hadn't used a manifest before. Dependency Walker shows
COMCTL32.DLL as a requirement, but does not indicate a problem picking it
up. It shows the full path as c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af though it’s the same
as in C:\Windows\SysWOW64. However, Process Explorer shows
my client executable as having two different comctl32.dll’s loaded. One
is version 5.82.7601.17514 (the above). The other is 6.10.7601.17514, in C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2 Interestingly, in a development environment I only get the latter version of the file loaded. I am ignorant of what this all means. Should I just ignore this error?
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/uNd3bjtfda8J. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
I should have pointed out that this was on Windows 7, but the same error message is seen on Windows XP. On XP, I see that only a 6.0.2900.6028 version of comctl32.dll is loaded.
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/5CEHM--RWrIJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Wayne - The message is produced because the loaded (5.82) CommonControls DLL doesn't support all the controls used by VA Smalltalk. The 5.82 version of CommonControls is the default version used by Windows. Windows will only use the 6.x version if it is identified in a manifest file. So, please double-check that you have a file named <myruntimeexename>.exe.manifest in the same directory as <myruntimeexename>.exe. John On Thursday, August 30, 2012 8:56:45 AM UTC-4, Wayne Johnston wrote: I should have pointed out that this was on Windows 7, but the same error message is seen on Windows XP. On XP, I see that only a 6.0.2900.6028 version of comctl32.dll is loaded.-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/Z_PunxEM5EgJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Thanks John, you are right of course.
However, in this application (and a similar one currently on 8.0.0), I don't think we don't want to run with the newer common controls. Or at least it introduces a problem. As a user tabs through multiple drop-down lists, or multiple checkboxes, there is no indication of which one currently has focus. Without the manifest, checkbox labels have the light box drawn around them when they have focus, and drop-downs go shaded. Here is an example of the checkbox problem (labels are truncated in this image) - you wouldn't know it but the 2nd one is the one with focus. And here are some drop-down lists where again it's the second one with focus but you can't tell. My solution is to not run with the manifest - meaning ignore this message "Windows CommonControls failed to initialize properly." --You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/auHWKJP3jIAJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Another application on VA 8.0.2 here has seen the above bad effect of the newer common controls via the manifest. So have others seen the problem? Is it a VA problem or Windows? Or could it be something specific to our applications? Or has it been settled that it's good to not indicate which widget has focus?
--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/tvNB78MirG0J. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Wayne - You can thank Windows for this behavior. I will quote from my favorite Windows blog -- The Old New Thing.
So, in Windows 7 you could try going to Ease of Access Center on the Control Panel, selecting Make the keyboard easier to use, and check the Underline keyboard shortcuts and access keys box. If this doesn't help, let me know. John On Tuesday, September 11, 2012 1:48:19 PM UTC-4, Wayne Johnston wrote: Another application on VA 8.0.2 here has seen the above bad effect of the newer common controls via the manifest. So have others seen the problem? Is it a VA problem or Windows? Or could it be something specific to our applications? Or has it been settled that it's good to not indicate which widget has focus?-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/3F9ZLIklgH0J. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Thanks John! You are correct, of course.
I had seen "Manifest file changes some GUI appearance on Windows" in the migration guide, but it only mentioned shortcut keys, and I didn't realize it would have the above effects too. We believe we have users who do things fast by not reaching for the mouse. We don't want to say in our user's guide "On Windows 7, there are many screens which will look slightly different. And for those of you who like to use the keyboard who don't like Microsoft's decision to not show you (by default) which drop-down or checkbox has focus, go into the Ease of Access Center...". So I think we are going to continue to run without the manifest, and our application will continue to look and act the same. Hopefully this unconventional(?) route will work for the foreseeable future.
-- You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/woJkN5GyL0gJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Wayne -
Yes, it should work as long as you don't need/want any of the CommonControls function added since version 5.82 (unfortunately I haven't found a complete list of the changes between 5.82 and 6.0) and don't mind the message on the Transcript. We assume that we are running with Version 6.0 or higher of CommonControls. We usually see customers with your original problem -- run time doesn't match development time because the manifest file is missing. I had considered solving this problem by linking the manifest into the .EXE, but I have stepped back from doing this based on your feedback. The Migration Guide didn't mention the lose of the focus rectangle because I was not aware of it -- I will see that the page is updated. John On Wednesday, September 12, 2012 12:31:46 PM UTC-4, Wayne Johnston wrote: Thanks John! You are correct, of course. You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To view this discussion on the web visit https://groups.google.com/d/msg/va-smalltalk/-/7OlHGC6_gbQJ. To post to this group, send email to [hidden email]. To unsubscribe from this group, send email to [hidden email]. For more options, visit this group at http://groups.google.com/group/va-smalltalk?hl=en. |
Free forum by Nabble | Edit this page |