| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Making REXX .DLL`s |
-=> Quoting Doug Nazar to Phil Crown <=-
DN> Hello Phil!
DN> Saturday April 06 1996 20:08, Phil Crown wrote to All:
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.
DN> They are functionally equivalent, at least here. EXPENTRY & APIENTRY
DN> both are defined as '_System'. MRESULT should be a ULONG also.
Ok, I get it now.
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?
DN> Possibly. _Packed is an old keyword equivalent to
DN> #pragma pack(1)
DN> or something similiar for Borland.
That's what it sounds like, now that I just looked in the rexxsaa.h
shipped with Borland, I find...
#if defined(__BORLANDC__)
#pragma pack(1)
#define _Packed
#endif
Thanks!
Phil
Fido: 1:124/8014.1 | Internet: phil.crown{at}bluecafe.com
--- Blue Wave/OS2 v2.30
* Origin: * MacSavvy OS/2 BBS * Dallas, Texas * 214-250-4479 * (1:124/1208)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: 124/1208 1 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™.