🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #245

bioskey(), coreleft()

#245
From: Bieniasz Leslaw
Date: Fri, 25 Apr 2008 08:48
9 lines
1402 bytes
Hi,
I have an old DOS program which I compiled years ago by Turbo C++, and I need to transform this program into a 32-bit console application using C++ Builder 6.0.
The program uses intensively functions from conio.h
and bios.h. While conio.h is now available in 32-bit version, the functions such as bioskey() from bios.h, and
coreleft() from alloc.h are not supported any more. My question is: is there any way to emulate bioskey() and coreleft() by using other functions available in conio.h, such as for example,
kbhit() and getch() ?

Leslaw Bieniasz
Technical Details
Message-ID: <48119aed$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,3f99de30aae1a1e1,start
X-Google-Attributes: gid110f51,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bieniasz Leslaw" <nbbienia@cyf-kr.edu.pl>
Sender: "Bieniasz Leslaw" <nbbienia@cyf-kr.edu.pl>
Reply-To: "Bieniasz Leslaw" <nbbienia@cyf-kr.edu.pl>
Subject: bioskey(), coreleft()
Newsgroups: borland.public.cppbuilder.migration
X-User-Info: 149.156.2.32     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <48119aed$1@newsgroups.borland.com>
Date: 25 Apr 2008 01:48:45 -0700
X-Trace: newsgroups.borland.com 1209113325 207.105.83.66 (25 Apr 2008 01:48:45 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.isoc.lu!newsgroups.borland.com!not-for-mail