TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Rich Veraa
from: Darin McBride
date: 1996-05-29 22:17:16
subject: API List?

RV> Is there a file anywhere comparable to Ralf Brown's Interrupt List listing
 RV> OS/2 API calls?  I just got VP/2 and tried to port a project from TP 6.0,
 RV> and 98% of it compiled without a hiccup, but one unit uses int 21 and
 RV> registers and I'm at a loss.  The VP/2 manual sheds no light on the
 RV> subject, and I've pored over the os2base.pas source to 
 RV> no avail. Two of the
 RV> troublesome functions follow.  Does anyone have any suggestions?

What you need to do is tell us what you want to do - I don't know interrupts.


 RV> Function LockFile(Var F; LockStart: LongInt; LockLength: LongInt): Word;

DosFileLocks will do what you're looking for.  What's that 'Var F' anyway? 
What type?


 RV> Function  GetTempName(FN: String): String;

You'll have to build one.  Handily enough, you can create a unique filename
by using your Process ID.  Get these numbers from DosGetPID.


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