TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Richard Hulme
from: Hajo Quint
date: 1995-01-26 21:03:02
subject: Re: DosProtect... Calls

-=> Quoting Richard Hulme to All <=-


 RH> Can anyone shed any light on the DosProtectxxx calls?  Apparently they
 RH> came in with v2.1.  What's the difference between, say, DosOpen and
 RH> DosProtectOpen? 

If I remember right then is difference quite simple. Both calls open a file.
But, if you open it protected only you ( the application that opened the file)
have access to it. Therefore you should use the protect calls only, if you 
want to update a file or when you want to read the file and wont allow 
another programm to update it while you're reading or writing. But remember 
to end the protected callas soon as possible again. 

Best wishes

Hajo 


... Back up my hard disk? I can't find the reverse switch!
___ Blue Wave/QWK v2.12 OS/2

--- Maximus/2 2.01wb
* Origin: IBM OS/2 BBS - Denmark - +45 4588 7222 (2:236/438)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809
@PATH: 236/438 174 200 23/996 240/5500 396/1 3615/50 105/103 42 724/13 600/500
@PATH: 600/2 82 229/2 12/2442 711/409 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™.