I just inherited some c code which runs on a Janus barcode scanner device.
It was developed using the Borland C compiler on the PC. I guess the
barcode device runs a mini version of DOS.
I've made no source changes yet, I'm trying to get the existing code to
build using the Borland C++ 4.5 environment.
Problem #1 - I get a bunch of warnings from Bcc regarding 'Possibly
incorrect assignment...' and then a message:
Error: Unable to execute command 'tlink.exe'
Problem #2 - When I run tlink manually, I get the the following error:
>tlink esd.obj d:\bc45\lib\ch.lib
Turbo Link Version 7.00 Copyright (c) 1987, 1994 Borland International
Error: Segment _TEXT exceeds 64K
Thanks for any insight you have.
I have used the -mh option for Bcc to indicate the huge memory model, and as the tlink command line indicates, I have been attempting to link with ch.lib library for the huge memory model. Is there something I'm missing in the Borland command line directives?