TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bob Liles
from: Vitus Jensen
date: 1995-02-21 23:54:02
subject: REXX DLL STUMPS ME

Moin Bob,

14.02.95 15:13, you wrote a message to All:

 BL> /*           */
 BL> call RxFuncAdd 'dllroutine', 'bobsdll', 'dllroutine'
 BL> call dllroutine '5'
 BL> call RxFuncDrop 'dllroutine'

 BL> APIRET _export APIENTRY dllroutine (char * a)
 BL> {}

 BL> Now my problem.  Whenever I run this from REXX, I expect to get 
 BL> the number "5" printed to the screen.  However, all I get is
 BL>  "DLLROUTINE" printed to the screen.  
[...]

 BL> Why is REXX just giving me the name of the routine? How can I 
 BL> get the parameter that I am trying to pass from REXX?

RTFM, or x:\Toolkt21\REXX\SAMPLES\RXMACDLL\*.c[md]

ULONG APIENTRY MacroLoad(
   PUCHAR    func,
   ULONG     argc,
   PRXSTRING argv,
   PSZ       que,
   PRXSTRING ret)

So passing the name of the routine is really OK. 

Tschuesz,
	Vitus

--- Sqed/32 0.97/r00228
* Origin: Really a Point of BetaBox, Walheim (2:2474/100.20)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 2474/100 0 2476/2 2452/110 105/42 103 3615/50 229/2 12/2442 711/409
@PATH: 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™.