| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | writing REXX DLL`s |
DM> The problem _seems_ to be something about the global
DM> variables I have, or at least that's all I can figure
DM> out. The only reason I doubt this is that a DLL loaded
DM> by seperate processes should have its own global data
DM> space... shouldn't it?
DM> If so, then nothing should conflict between the two
DM> processes (instances of the command interpreter,
DM> whether I use 4OS/2 2.52A or the Warp CMD.EXE).
DM> If not, would I get a Sys3175 error when using a
DM> pointer that was created in the first process ... in a
DM> second one? Or how about a semaphore created in the
DM> first process?
You really figure things out better AFTER you ask a question, even within a
few minutes after sending that.
Alright, new question. I have the "solution". However, I use
the IDE, and, well, can't figure out where to put this solution. I hacked
the makefile to get the test version working.
Here's the stats:
Watcom 10.6 for OS/2
Need the wlink line to have:
wlink d all SYS os2v2 dll initi op m exp
^^^^^
However, I can't find a place to put that "initi" in the IDE.
(BTW, there is one other option required, "op many", but I found
a radio button for it in the 4th screen of options under the linker.) Any
directions to something I've obviously missed (or at least HOPE I've
obviously missed ) would be appreciated. I'm also going to email
Watcom, but I'm not entirely sure I'll get a response from them.
I want to release this DLL before my classes start to kill
me. :-)
(As an aside, for those who may be worried, the global variables are
protected by an _anonymous, private_ semaphore, which is what I wanted -
because the data should be _anonymous, and private_.)
--- Maximus/2 3.01
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 711/409 410 413 430 808 809 SEEN-BY: 711/934 955 712/311 407 505 506 517 623 624 704 841 713/317 800/1 @PATH: 342/5015 61 3615/50 396/1 270/101 712/624 711/808 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™.