According to "dos/extents.h" "ACTION_CURRENT_VOLUME" is deprecated. Ok, but what exactly did it return and what is the alternative/OS4.0 way of obtaining that same info?
As one of the drives in my X5000 is making ehm, eh, lets say: 'funny noises', I decided to move the partitions it contains to another disk, using 'COPY'. One partition in particular contains truckloads of 'links' and whatever I tried, none of the links is copied as a link proper.
I have some code that launches a child process and then reads its output. It's working fine on OS3, but on OS4, both the m68k and PPC builds crash when I call IDOS->Read(). I've written below a simplified version (with error checking removed) of the code. Can anyone spot anything silly that I'm doing wrong that would cause this crash?
Workbench has the following behaviour:
When a window is opened for a second or more time, it is positioned (x,y-coordinates) at the same place it was at the previous time (in the meantime no reboot applied af course). Workbench seems somehow to 'remember' that position and store that info in one of its many lists.
My question:
Where and how is that information stored and how is it accessible?
Any info will be appreciated, but preferably not that it is not known...
In my User-Startup i have this line: C:Rx SYS:S/ARexx/AddMenu.rexx
It functions very well, but at the end I am greeted with a message that the process of running that script 'has not yet returned' thereby blocking furthert execution of the boot-sequence.
My little question:
How can I supress that message and have the boot-sequence to complete?
For a project I'm working on, I would like to know how to obtain a script's priority of execution. I went through struct DiskObject, but found nothing there, that even remotely triggered a hint of recognition.
Just wondering if there is any standard way to create a drawer from a script, usually using MakeDir, and also have it create an icon?
I see no update to MakeDir with an icon option which surprises me. Workbench can do it easily but commands cannot. I wonder why?
On OS3.5+ a default icon can be used for the purpose even if it adds extra work since it must be copied separately. But on plain OS3.1 it doesn't have default icons. I don't even recall where Workbench grabs a default drawer icon from as a search turned nothing obvious up but it surely copies one from somewhere.
I'm working on a project and wanted to get some thoughts on an aspect of it. What I want to do is examine a system, determine how many partitions are bootable (a), understand what version that partitions contain (b), detect the system type (c), and build an identifying string to capture those details (d).
For A:
I can walk each partition for a "kickstart" folder but there are times when kickstart is not located on the same partition as the boot partitions. For those cases, I could scan for system folders as well.