🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.migration
2 messages
2 total messages Started by sandalin Mon, 23 May 2005 22:13
Porting DOS apps to Windows console under BCC32 5.5.1
#92
Author: sandalin
Date: Mon, 23 May 2005 22:13
26 lines
1769 bytes
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

Thank all of you for your help
Re: Porting DOS apps to Windows console under BCC32 5.5.1
#93
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads