View Issue Details

IDProjectCategoryView StatusLast Update
0005198JEDI VCL00 JVCL Componentspublic2010-06-17 09:57
ReporterProzacAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionsuspended 
PlatformWindows 64-bitOSWindows VistaOS VersionUltimate + SP1
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0005198: JvComputerInfoEx and Windows 7
DescriptionHi!

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 InformationUnfortunately 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.
TagsNo tags attached.

Activities

obones

2010-06-07 13:47

administrator   ~0017445

Could you please provide the zipped sources of a sample application showing this?

Prozac

2010-06-07 15:16

reporter   ~0017462

Sure, I will attach the sample today.

Prozac

2010-06-16 20:15

reporter   ~0017508

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.

obones

2010-06-17 09:57

administrator   ~0017509

Thanks for letting us know

Issue History

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