Path: 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 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