🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1759

Re: Shared Libraries

#1759
From: DEAN GAUDET
Date: Fri, 20 Oct 1989 08:07
19 lines
1160 bytes
I have a project that I'm working on that involves creating a shared
library.  I understand how to create one, but I don't know the
limitations on using one.  (I'm writing it in Lattice C 5.02.)
 
In particular:  can I use dos functions?  I ask this because the XPR
specs use callbacks for dos functions.  I understand why XPR would need
callbacks for doing Serial I/O, but not why it would need callbacks for
file i/o.
 
Also, if I do a FindTask(0) during the Opening of my library (ie: when
another program does an OpenLibrary) will I get a pointer to the tcb of
the calling task?  Could I use this pointer to set up a separate data
structure for each calling task?
 
Thanks in advance.
 
Dean Gaudet - dgaudet@watcsc.waterloo.edu - dean.gaudet@canremote.uucp
---
 * Via ProDoor 3.1R 
Technical Details
Message-ID: <89102003371222@masnet.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!dean.gaudet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!dean.gaudet
From: dean.gaudet@canremote.uucp (DEAN GAUDET)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Shared Libraries
Message-ID: <89102003371222@masnet.uucp>
Date: 20 Oct 89 08:07:00 GMT
Organization: Canada Remote Systems Limited, Mississauga, ON, Canada
Lines: 19