View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005198 | JEDI VCL | 00 JVCL Components | public | 2010-03-16 00:25 | 2010-06-17 09:57 |
Reporter | Prozac | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Platform | Windows 64-bit | OS | Windows Vista | OS Version | Ultimate + SP1 |
Product Version | Daily / GIT | ||||
Target Version | Fixed in Version | ||||
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. | ||||
|
Could you please provide the zipped sources of a sample application showing this? |
|
Sure, I will attach the sample today. |
|
Sorry guys but I prepared several samples and unfortunately my beta-tester could not confirm the previous results. As I mentioned before I don't have Windows 7 myself and I cannot make appropriate tests so I think for the time being the thread should be suspended. |
|
Thanks for letting us know |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-03-16 00:25 | Prozac | New Issue | |
2010-06-07 13:47 | obones | Note Added: 0017445 | |
2010-06-07 13:47 | obones | Status | new => feedback |
2010-06-07 15:16 | Prozac | Note Added: 0017462 | |
2010-06-16 20:15 | Prozac | Note Added: 0017508 | |
2010-06-17 09:57 | obones | Note Added: 0017509 | |
2010-06-17 09:57 | obones | Status | feedback => resolved |
2010-06-17 09:57 | obones | Resolution | open => suspended |
2010-06-17 09:57 | obones | Assigned To | => obones |