TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Alain Bosch
from: Jonathan de Boyne Pollard
date: 1996-02-07 00:17:52
subject: link problems

AB>
  > A long time ago i purchased BC++/2 1.0, some parts are outdated
  > and i want to replace them with the stuff that comes with the
  > warp developper kit.
AB>

  Customising the OS/2 Developers' Toolkit to a specific C++ compiler
  involves three major steps.

  Firstly, you need to alter OS2DEF.H to define the calling convention
  macros in terms of whatever calling convention keywords are provided by
  your compiler.  The SYSTEM calling convention, for example, requires the
  __stdcall keyword in Borland C++, _System in IBM VisualAge C++,
  __syscall in Watcom C++, and no keyword in MetaWare High C++.

  Secondly, you need to ensure that you have accounted for whether your
  C++ compiler defaults `char' to `signed' or `unsigned' in the definition
  of "character" types such as BYTE.

  Thirdly, you need to ensure that the libraries and headers have the
  names that the rest of your compiler's toolset expects to see.  For
  example, the 32-bit OS/2 system API import library is called OS2386.LIB
  in the toolkit, but Borland's tools expect it to be called OS2.LIB and
  that is the library that they will go looking for.

  > JdeBP <
___
 X MegaMail 2.10 #0:
--- Maximus/2 3.01
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.