🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

detecting windows version from TP7?

#124
From: sp33m
Date: Tue, 16 Jul 2002 03:19
14 lines
1735 bytes
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'.

on a similar note, does anyone know a sound library for good old TP7 that
works under NT/XP?

any assistance greatly appreciated.
Technical Details
Message-ID: <ah03ch$80c$1@terabinaries.xmission.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,6f578820cfa1197c,start
X-Google-Attributes: gid111659,public
X-Google-Thread: 108ebd,6f578820cfa1197c,start
X-Google-Attributes: gid108ebd,public
X-Google-ArrivalTime: 2002-07-15 20:19:47 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!xmission!nnrp.xmission!not-for-mail
From: "sp33m" <poo@toilet.com>
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal
Subject: detecting windows version from TP7?
Date: Mon, 15 Jul 2002 21:19:39 -0600
Organization: XMission http://www.xmission.com/
Lines: 16
Message-ID: <ah03ch$80c$1@terabinaries.xmission.com>
NNTP-Posting-Host: cogs.dsl.xmission.com
X-Trace: terabinaries.xmission.com 1026789585 8204 166.70.14.111 (16 Jul 2002 03:19:45 GMT)
X-Complaints-To: abuse@xmission.com
NNTP-Posting-Date: Tue, 16 Jul 2002 03:19:45 +0000 (UTC)
Keywords: i can't see you mommy
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000