List Info

Thread: PDK 7.0 Fix?




PDK 7.0 Fix?
country flaguser name
United States
2007-02-23 14:39:38
Jan, et al.

I have not had an opportunity to play with the PDK 7.0 beta yet, and probably won't have time given my workload. However, I did have one "bug" in PDK 6.0 PerlApp that has been a problem for me for quite some time, and I hope can be fixed in PDK 7.0.

If you open the PerlApp program, and go to the Version tab, you cannot enter a version number such as "1.07" or "1.07.01", and is limited to five numeric characters. Is this fixed? If not, can this be fixed before the final release of PDK 7.0?

Regards,
Michael Cohen
Re: PDK 7.0 Fix?
country flaguser name
United Kingdom
2007-02-23 14:54:54
Hi Michael

I'm using PDK 6.0.2 GUI on Win32 and I can enter anything
between

0.0.0.0

and

65535.65535.65535.65535

which is the valid range for a Win32 version number.

Maybe it was fixed between 6.0.0 and 6.0.2 (6.0.2 was an
upgrade
released some time ago)?

Regards

Mark



Michael Cohen wrote:
> 
> Jan, et al.
> 
> I have not had an opportunity to play with the PDK 7.0
beta yet, and
> probably won't have time given my workload.  However, I
did have one "bug"
> in PDK 6.0 PerlApp that has been a problem for me for
quite some time, and
> I hope can be fixed in PDK 7.0.
> 
> If you open the PerlApp program, and go to the Version
tab, you cannot
> enter a version number such as "1.07" or
"1.07.01", and is limited to five
> numeric characters.  Is this fixed?  If not, can this
be fixed before the
> final release of PDK 7.0?
> 
> Regards,
> Michael Cohen
> 
> 
>
------------------------------------------------------------
------------
> 
> _______________________________________________
> PDK mailing list
> PDKlistserv.ActiveState.com
> To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs


_______________________________________________
PDK mailing list
PDKlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

RE: PDK 7.0 Fix?
country flaguser name
United States
2007-02-23 18:44:41
Actually, Windows supports string forms and numeric forms:

C:>filever -v C:windowssystem32msaatext.dll
--a-- W32i   DLL ENU     2.0.10413.0 shp    102,912
08-23-2001 msaatext.dll
        Language        0x0409 (English (United States))
        CharSet         0x04b0 Unicode
        OleSelfRegister Disabled
        CompanyName     Microsoft Corporation
        FileDescription Active Accessibility text support
        InternalName    MSAAText
        OriginalFilenam MSAATEXT.DLL
        ProductName     Microsoft« Windows« Operating
System
        ProductVersion  5.1.2600.0
        FileVersion     2.0.010413 (xpclient.010817-1148)
        LegalCopyright  ⌐ Microsoft Corporation. All
rights reserved.

        VS_FIXEDFILEINFO:
        Signature:      feef04bd
        Struc Ver:      00010000
        FileVer:        00020000:28ad0000 (2.0:10413.0)
        ProdVer:        00050001:0a280000 (5.1:2600.0)
        FlagMask:       0000003f
        Flags:          00000000
        OS:             00040004 NT Win32
        FileType:       00000002 Dll
        SubType:        00000000
        FileDate:       00000000:00000000

In this file, for instance, the "FileVersion"
string is "2.0.010413" (notice the leading 0, only
three values, etc.).  The "FileVer" data from
VS_FIXEDFILEINFO is "2.0:10413.0" (or
"2.0.10413.0") as derived from the four 16-bit
integers.  There is nothing that enforces any coherence
between the VS_FIXEDFILEINFO data and the
"ProductVersion" and "FileVersion"
strings.  The strings are, as far as I know, completely
freeform.  The string data is described farther down on the
webpage mentioned by Jan below.

--Toby Ovod-Everett


-----Original Message-----
From: pdk-bounceslistserv.ActiveState.com
[mailto:pdk-bounceslistserv.ActiveState.com] On Behalf Of Jan
Dubois
Sent: Friday, February 23, 2007 12:05 PM
To: 'Michael Cohen'; PDKlistserv.ActiveState.com
Subject: RE: PDK 7.0 Fix?

Michael Cohen writes:
> If you open the PerlApp program, and go to the Version
tab, you cannot
> enter a version number such as "1.07" or
"1.07.01", and is limited to
> five numeric characters. Is this fixed? If not, can
this be fixed
> before the final release of PDK 7.0?

This is a limitation of the Windows version format. The
version number
is not a floating point number, but a 4-tuple of 16-bit
integers.
Therefore version 1.07 cannot be distinguished from 1.007 or
1.0007 or
1.7, or 1.7.0.0.

1.07.01 should be written as 1.7.1. Since 16-bit numbers
cannot be
larger than 65535 there is no point in allowing more than 5
digits for
any of the 4 numbers. You can find more information about
VERSIONINFO
resources here:

    http://msdn2.microsoft.com/en-gb/library/aa381058.aspx


Cheers,
-Jan


_______________________________________________
PDK mailing list
PDKlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
_______________________________________________
PDK mailing list
PDKlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )