| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Making REXX .DLL`s |
Hello Phil! Saturday April 06 1996 20:08, Phil Crown wrote to All: PC> I am trying to make a REXX callable .DLL with Borland C++ for OS/2 v2.0, PC> so far unsuccessfully. ie. a .DLL that is loaded with REXX's PC> RxLoadFunc and run from REXX. Just did that. PC> I'm just wondering if anybody has successfully created a REXX callable PC> .DLL with BCOS/2? Maybe there is a bug in BCOS/2??? I'm using VisualAge C++ 3 but maybe my experience will be useful. PC> I'm using rexxsaa.h from the Warp Toolkit on DevCon 9. Same. PC> I read that entry points in .DLL's must be MRESULT EXPENTRY. However, PC> the vxtech* examples for Watcom/CSet++ delcare the REXX callable PC> functions as ULONG and are protoyped with RexxFunctionHandler. PC> RexxFunctionHandler is typedef'ed as ULONG APIENTRY, so this is an PC> inconsistentency already in rexxsaa.h and the vxtech* examples. They are functionally equivalent, at least here. EXPENTRY & APIENTRY both are defined as '_System'. MRESULT should be a ULONG also. PC> btw, what is _Packed defined as in IBM's CSet++ (or VACC)? I had to PC> define it in rexxsaa.h for BCOS/2, I just used, PC> #define _Packed PC> Maybe this is my problem? Possibly. _Packed is an old keyword equivalent to #pragma pack(1) or something similiar for Borland. Doug --- GoldED/2 2.50+* Origin: Realm of the Dragons - `Where thy mind hath no limits' (1:250/516) SEEN-BY: 50/99 78/0 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: 250/516 101 99 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™.