TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jeff Garzik
from: Russell Coker
date: 1994-08-01 19:08:00
subject: Help On Dosduphandle()?

JG>I'm writing a door for an OS/2 BBS.

JG>When someone passes me an OS/2 file handle (for the open com port), do I
JG>need to do anything special to the com handle (such as DosDupHandle())?

   No need to do anything special.

JG>Or may I simply assign the passed comm handle to an HFILE variable and
JG>continue on?

    Yep.  It works fine for me in Telnet Door.....



   cya
___
 X MR/2 2.0 NR X M$ upgrade policy: Remove old bugs, add new ones.

--- Maximus/2 2.01wb

* Origin: Multi - 61-3-739-7145 (3:633/363)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/301 348 365 386 998 633/104 252 260
SEEN-BY: 633/357 363 371 373 379 634/384 635/210 502 503 636/100 638/100
SEEN-BY: 640/820 690/660 711/409 413 430 807 808 809 934 942 712/353 623
SEEN-BY: 713/888 800/1
@PATH: 633/363 260 371 635/503 632/348 711/409 54/54 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™.