🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Porting DOS apps to Windows console under BCC32 5.5.1

#93
From: Ed Mulroy [TeamB]
Date: Sun, 29 May 2005 18:11
41 lines
2659 bytes
The _CG_* unresolved references are for CodeGuard.  Something that you are 
linking with or some source of yours is trying to use CodeGuard.  Fix that.

> 2. Are there any equivalent functions of the graphic functions that were 
> in the graphics.lib under bcc 3.1 ?
> like : line(), moveto(), rectangle(), setcolor(), outtxtxy()... which 
> worked in a dos box

Those are Borland Graphics Interface, BGI, functions.  They are a DOS based 
attempt to provide some of the graphical abilities that Windows natively 
supplies.  The C++ Builder compiler you are using does not support DOS.  It 
only supports 32 bit Windows.  Use the Windows API for doing graphics.

.  Ed

> sandalin wrote in message
> news:4292476f$1@newsgroups.borland.com...
>I try to port an old DOS app that mainly used plain old text + few simple 
>graphics to a windows console mode using BCC32 5.5.1
>
> 1. i still get linker unresolved references which come from calls by 
> functions of the standard library (not my calls); or perhaps these are 
> internal variables ?
> I linked with c0x32.obj, cw32.lib and import32.lib; Is there another 
> library/obj i have to add when linking ?
> _CG_DA_BEPXSY
> _CG_INTR_STRCPY
> _CG_LDA_EOXSY
> _CG_GDA_EGY
> _CG_A_PY
> _CG_A_PQ
> _CG_DA_EPY
> _CG_A_BP
> _CG_GDA_EGXSY
> _CG_DA_EPXSY
> are unresolved
>
> 2. Are there any equivalent functions of the graphic functions that were 
> in the graphics.lib under bcc 3.1 ?
> like : line(), moveto(), rectangle(), setcolor(), outtxtxy()... which 
> worked in a dos box
Technical Details
Message-ID: <429a05c9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4292476f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,b985dc02e375711b
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.migration
References: <4292476f$1@newsgroups.borland.com>
Subject: Re: Porting DOS apps to Windows console under BCC32 5.5.1
Date: Sun, 29 May 2005 14:11:14 -0400
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 12.161.27.47
Message-ID: <429a05c9@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117390281 12.161.27.47 (29 May 2005 11:11:21 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail