CompuServe Messages

#Current Drive

#: 31221 S7/ProgrammingForum unknown
    26-Aug-86 23:50:12
Sb: #31176-#Current Drive
Fm: Don Curtis/SYSOP 76703,4321
To: Mark Skapinker (Batterie 76703,207

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.

Look in disk.h in the resource directory of the include directory (at least that is where it is in the 1.2B4 include disk). As far as running from an Icon in another directory….hummmmm. I haven't gotten that close to the metal yet to give a definitive answer, but a guess is that the calling routine is contained within the passed parameters to main() as part of the message that has to be returned to the Workbench on exit of your task. If you look at section 1.3.2 of Amiga DOS developer's manual, it only gives a clue. Like I say, a guess is that at least a lock to the calling file is contained within the parameters pointed to via argv. You might also look at the Amiga DOS calls a few pages further in the developer's manual.