TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James R. Cook
from: Darin McBride
date: 1997-01-04 23:12:32
subject: Acronyms ...

JRC> selection of OS/2 stuff.  I
 JRC> have a realy DUMB question for you.  I've got Watcom 10.0a and I'm trying
 JRC> to create a couple of simple DLLs.  I've had no luck so far.  It seems to
 JRC> create the DLL, but the import libraries don't work.  

Watcom has, IMO, a really dumb way of doing this.  My wlink command is:

 *wlink d all SYS os2v2 dll op m exp SEMLOAD=SemLoad,SEMDROP=SemDrop,SEMLOGS&
TATE=SemLogState,SEMCREATEMUTEX=SemCreateMutex,SEMCREATESEM16=SemCreateSem16&
,SEMCLOSE=SemClose,SEMCLAIM=SemClaim op maxe=25 op q op symf op one {at}rexxsem&
.lk1

Notice the 'exp NAME=funcname,NAME2=func2name,...'

That's how you export DLL entry points.  You can also use:

'exp NAME=num,funcname,NAME2=num2,func2name,...' to give the functions ordinals.


--- 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™.