| Anonymous | Login | Signup for a new account | 2010-09-09 13:17 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0005198 | [JEDI VCL] 00 JVCL Components | minor | always | 2010-03-16 00:25 | 2010-06-17 09:57 | ||
| Reporter | Prozac | View Status | public | ||||
| Assigned To | obones | ||||||
| Priority | normal | Resolution | suspended | ||||
| Status | resolved | Product Version | Daily / SVN | ||||
| Summary | 0005198: JvComputerInfoEx and Windows 7 | ||||||
| Description |
Hi! I have just discovered a very strange behaviour of the JvComputerInfoEx. Please imagine the following situation: When I create a new VCL app in Delphi and put JvComputerInfoEx on an empty form and then use the following code: procedure TForm1.FormCreate(Sender: TObject); begin ShowMessage(JvComputerInfoEx1.OS.ProductName); end; then I get the correct detection of Windows 7. but when I try to do exactly the same and put JvComputerInfoEx on the main form of my existing app Windows 7 is detected as Windows XP with SP 3. So I decided to make several tests to find out what the reason of this issue is. It turned out that this is some kind of a conflict between JvComputerInfoEx and GnuGettext. These are two Gettext procedures which seem to cause this conflict: TranslateComponent(Self) and TP_Ignore(self,'JvComputerInfoEx1') When I remove the TranslateComponent(Self) procedure the issue is still present. Only when I remove them both JvComputerInfoEx1 can correctly detect Windows 7. Of course when I remove this ignore procedure and leave TranslateComponent I got an error from JvComputerInfoEx on start-up saying that the read-only property cannot be changed. Note, this seems to affect Win 7 only. I've been using JvComputerInfoEx1 + TranslateComponent + TP_Ignore for a quite long time before Win 7 was released and every OS was always detected correctly. And it still works fine for other Windows versions. |
||||||
| Additional Information |
Unfortunately I don't have Win 7 and I'm not able to make test personally. One of my beta-testers is currently using Windows 7 and he helped me in making those tests. |
||||||
| Tags | No tags attached. | ||||||
| Attached Files | |||||||
|
|
|||||||
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |