CompuServe Messages

#Current Drive

#: 31176 S7/ProgrammingForum unknown
    26-Aug-86 06:42:30
Sb: #Current Drive
Fm: Mark Skapinker (Batterie 76703,207
To: Don Curtis/SYSOP 76703,4321

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

I've just gotten back to my determining the current drive name problem we were discussing last week. You did point me in the right direction! I'm now stalled on the GetUnitID() call in RKM vol 2, p.C-7. I have no binding for the call in Lattice. I think the register assignments shown in the manual actually imply that you have to do it yourself in assembler. No probs, but what does it all mean? Have you any idea how to set up the call, and get the return value? Should any special libraries be open like the "givemeaccesstothedisk.library"?! Now I'm having another problem. If the user invokes my program from the "project" icon (that is the data associated with the program) and the icon and data are in a subdirectory and the program is in the root directory I have no way of knowing which directory the file is in (did you get all that)? In other words, the current directory is now ":", but where is the data?