🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #125

Re: detecting windows version from TP7?

#125
From: Ralf A. Quint
Date: Wed, 17 Jul 2002 02:00
15 lines
2353 bytes
On Mon, 15 Jul 2002 21:19:39 -0600, "sp33m" <poo@toilet.com> wrote:

>is it possible to detect which version of windows is running when launching
>an turbo pascal 7 application?
>
>i wrote a turbo 7 application years ago that still sees a lot of use.
>however, it croaks when it tries to initialize the sound -- apparently
>windows NT/XP hates the SMIX sound library.  i'd like to make the
>application still useable under NT/XP (it works fine under 31/9x/ME), i
>figured a quick hack would be to disable the sound under these noncompatible
>OS'.
Check for the "real" DOS version of 5.50, which will indicate that a
NT based Windows (NT 3.51, NT 4.0, W2K or XP) is running....

Ralf
Technical Details
Message-ID: <9sj9ju4ll2d551j6mc3o07p24cdmc8chlu@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!DirecTVinternet!DirecTV-DSL!news-out.newsfeeds.com!l2!corp-news.newsgroups.com!not-for-mail
References: <ah03ch$80c$1@terabinaries.xmission.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108ebd,6f578820cfa1197c
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 111659,6f578820cfa1197c
X-Google-Attributes: gid111659,public
X-Google-ArrivalTime: 2002-07-16 19:01:05 PST
From: Ralf A. Quint <ralf_quint@hottmail.com>
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal
Subject: Re: detecting windows version from TP7?
Date: Tue, 16 Jul 2002 19:00:33 -0700
Message-ID: <9sj9ju4ll2d551j6mc3o07p24cdmc8chlu@4ax.com>
References: <ah03ch$80c$1@terabinaries.xmission.com>
X-Newsreader: Forte Agent 1.91/32.564
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: newsfeeds2
Lines: 16
X-Authenticated-User: 1004769983
X-Comments: This message was posted through Newsfeeds.com
X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support,  spam or any illegal or copyrighted postings.
X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!!
X-Report: Please report illegal or inappropriate use to <abuse@newsfeeds.com> You may also use our online abuse reporting from: http://www.newsfeeds.com/abuseform.htm
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS)
Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups.
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!DirecTVinternet!DirecTV-DSL!news-out.newsfeeds.com!l2!corp-news.newsgroups.com!not-for-mail