TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Phil Crown
from: Murray Lesser
date: 1996-02-03 07:41:02
subject: Rexx`ercising

Excerpted from message dated 01-31-96, Phil Crown to ALL:

PC>btw, I saw someone that posted about trying to create External Rexx
  >Functions with Borland C++ for OS/2.  Here's something I've noticed,
  >you cannot use the macro from rexxsaa.h for prototyping,
... some deleted
PC>For some reason RexxFunctionHandler doesn't work, at least in my
  >experince. Also, I declare my external Rexx functions as ULONG
  >APIENTRY.

Hi Phil--

    I don't know about the version of rexxsaa.h that comes with Borland
C++ compilers, but there were bugs in early versions of rexxsaa.h that
came with the Warp Toolkit distributed with the first few DevCon volumes
issued after Warp GA was released.  (David Noon said the bugs were
inserted when the separate include files for C and C++ were combined.)
The bugs were swatted in newer versions (filedate 5/13/95, and later).

    I patched the early Warp rexxsaa.h files with my text-mode text
editor (rather than mucking up my source code) by inserting the APIENTRY
where needed.  If I remember correctly, there were four definitions in
that file that needed to be patched.

    AFAIK, the "C" version of rexxsaa.h in Toolkit versions 2.x, as
distributed with DevCon since the beginning, were bug-free.

    Regards,

          --Murray

---
* Origin: 2" x 4" bbs - a basic board - (914) 271-9407 (1:2625/108)
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: 2625/108 1 2619/211 3615/50 396/1 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™.