
Rexx external function DLLs
Quote:
>>When the code for DGSSLine is called, it gets garbage for parameters.
> They messed up the REXXSAA.H file in the Warp toolkit. Either get a copy of
>the v2.x REXXSAA.H file or compile with system linkage options (optilink is
>default!).
Actually, all you have to do is to apply the following patch to the
Warp Toolkit's REXXSAA.H:
*** rexxsaa.h~ Sun Jan 15 20:54:00 1995
--- rexxsaa.h Sun Jan 15 20:52:50 1995
***************
*** 463,469 ****
#ifdef __cplusplus
typedef ULONG APIENTRY RexxFunctionHandler(PUCHAR,
#else
! typedef ULONG RexxFunctionHandler(PUCHAR,
#endif
ULONG,
PRXSTRING,
--- 463,469 ----
#ifdef __cplusplus
typedef ULONG APIENTRY RexxFunctionHandler(PUCHAR,
#else
! typedef ULONG APIENTRY RexxFunctionHandler(PUCHAR,
#endif
ULONG,
As you see, programming in C++ only also solves the problem. :-)
Kai Uwe Rommel
--
/* Kai Uwe Rommel Muenchen, Germany *
DOS ... is still a real mode only non-reentrant interrupt
handler, and always will be. -Russell Williams