Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

OSType for windows 8

4 posts in General Discussion Last posting was on 2013-03-01 02:58:08.0Z
Mariano Posted on 2013-02-28 17:26:17.0Z
Sender: 514d.512f8f58.1804289383@sybase.com
From: Mariano
Newsgroups: sybase.public.powerbuilder.general
Subject: OSType for windows 8
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <512f9339.52fb.1681692777@sybase.com>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 28 Feb 2013 09:26:17 -0800
X-Trace: forums-1-dub 1362072377 172.20.134.41 (28 Feb 2013 09:26:17 -0800)
X-Original-Trace: 28 Feb 2013 09:26:17 -0800, 172.20.134.41
Lines: 7
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249752
Article PK: 1308006

Hi i got an app that depends OS version get some info from
some place in registry.
From W7 64 bits i know OSMajorRevision and minor, but id
like to get values for OSMajorRevision and OSMinorRevision
Anyone does know them?

Thanks in advance


Scott Morris Posted on 2013-02-28 18:06:47.0Z
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: OSType for windows 8
References: <512f9339.52fb.1681692777@sybase.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Scott Morris" <bogus@abc.def>
Message-ID: <op.ws79xkofq59cbq@scott-win7.divinv.net>
User-Agent: Opera Mail/11.51 (Win32)
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Date: 28 Feb 2013 10:06:47 -0800
X-Trace: forums-1-dub 1362074807 172.20.134.152 (28 Feb 2013 10:06:47 -0800)
X-Original-Trace: 28 Feb 2013 10:06:47 -0800, vip152.sybase.com
Lines: 11
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249755
Article PK: 1308011


On Thu, 28 Feb 2013 12:26:17 -0500, <Mariano> wrote:

> Hi i got an app that depends OS version get some info from
> some place in registry.
> From W7 64 bits i know OSMajorRevision and minor, but id
> like to get values for OSMajorRevision and OSMinorRevision
> Anyone does know them?
>
> Thanks in advance

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx


Mariano Posted on 2013-02-28 23:17:24.0Z
Sender: 55fa.512f9b6a.1804289383@sybase.com
From: Mariano
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: OSType for windows 8
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <512fe584.73e8.1681692777@sybase.com>
References: <op.ws79xkofq59cbq@scott-win7.divinv.net>
NNTP-Posting-Host: 172.20.134.41
X-Original-NNTP-Posting-Host: 172.20.134.41
Date: 28 Feb 2013 15:17:24 -0800
X-Trace: forums-1-dub 1362093444 172.20.134.41 (28 Feb 2013 15:17:24 -0800)
X-Original-Trace: 28 Feb 2013 15:17:24 -0800, 172.20.134.41
Lines: 13
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249759
Article PK: 1308017

Thanks !!!

> On Thu, 28 Feb 2013 12:26:17 -0500, <Mariano> wrote:
>
> > Hi i got an app that depends OS version get some info
> > from some place in registry.
> > From W7 64 bits i know OSMajorRevision and minor, but id
> > like to get values for OSMajorRevision and
> > OSMinorRevision Anyone does know them?
> >
> > Thanks in advance
>
>

http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx


John Fauss Posted on 2013-03-01 02:58:08.0Z
From: John Fauss <j.fauss@yahoo.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
Newsgroups: sybase.public.powerbuilder.general
Subject: Re: OSType for windows 8
References: <op.ws79xkofq59cbq@scott-win7.divinv.net> <512fe584.73e8.1681692777@sybase.com>
In-Reply-To: <512fe584.73e8.1681692777@sybase.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <51301940$1@forums-1-dub>
Date: 28 Feb 2013 18:58:08 -0800
X-Trace: forums-1-dub 1362106688 172.20.134.152 (28 Feb 2013 18:58:08 -0800)
X-Original-Trace: 28 Feb 2013 18:58:08 -0800, vip152.sybase.com
Lines: 24
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.general:249760
Article PK: 1308018

I suggest you take a look at Roland Smith's web site and check out the
free sample PB app that determines the Windows OS version, edition, and
bitness using WinAPI calls:

http://www.topwizprogramming.com/freecode_osversion.html

It has recently been enhanced to recognize Windows 8.

On 2/28/2013 5:17 PM, Mariano wrote:
> Thanks !!!
>> On Thu, 28 Feb 2013 12:26:17 -0500, <Mariano> wrote:
>>
>>> Hi i got an app that depends OS version get some info
>>> from some place in registry.
>>> From W7 64 bits i know OSMajorRevision and minor, but id
>>> like to get values for OSMajorRevision and
>>> OSMinorRevision Anyone does know them?
>>>
>>> Thanks in advance
>>
>>
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx
>