TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Darin McBride
date: 1996-05-22 17:20:28
subject: Semaphores (16 & 32)

Well, Mike, that doesn't seem to help much - the _far16 anyway:

APIRET16 APIENTRY16 _far16 DosCreateSem(USHORT usNoExclusive,
                                        PHSEM  phsemSemHandle,
                                        PCSZ   pszSemName);
APIRET16 APIENTRY16 _far16 DosOpenSem(PHSEM SemHandle,
                                      PCSZ SemName);
APIRET16 APIENTRY16 _far16 DosSemRequest(HSEM  hsemSemHandle,
                                         LONG  lTimeout);
APIRET16 APIENTRY16 _far16 DosSemClear(HSEM hsemSemHandle);
APIRET16 APIENTRY16 _far16 DosCloseSem(HSEM hsemSemHandle);

These are the functions I require to do 16-bit semaphores, yet the linker
still refuses to give them to me.  :-/  I have tried including the .lib
files directly in my project to no avail.  Including the lib286/os2/os2.lib
(where I know these are)!  I have even created a .lib from DOSCALL1.DLL...
  Still no luck.  Interstingly, I notice that the EXE's
(Squish, etc) look for 'DOSCALLS' whereas they actually load
DOSCALL1.DLL...

Any other ideas?


--- Maximus/2 3.01
* Origin: Tanktalus' Tower BBS (PVT) (1:342/708)
SEEN-BY: 50/99 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
@PATH: 342/5015 61 3615/50 396/1 270/101 712/515 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™.