hagelin@pommac.lne.kth.se (Martin Hagelin) (11/24/90)
Hello Networld! As a hardiskowner I often find it very irritating to open two windows every time I want to use my editor, open four windows when I'd like to run another program, etc. So I thought that arranging some kind of a menusystem would be good, and I Ftp:ed several menuprograms, but I found out that they weren't so good either. Every time I want to copy or move a file (as one does from the desktop), I have to leave the menuprogram. But then I thought, why not write a menusytem that was contained in an ACC. So, I started programming, and ran into trouble. How do you run a program from an ACC ? First I tried with shel_write(). Nothing happened. In the documentation I've got, it says that the program will be run after the current application is terminated. But the accessory application never terminates. Then I tried to start another application inside the acc with appl_init, the shel_write, and then appl_exit, but nothing happened. Pexec() worked with starting a program, but then after terminating and going back to the desktop, everything got weird. The desktop didn't update and all menus disappeared, etc. And now I wonder, is there a way to start a program from an acc, and then how do I do it ? Martin ------------------------------------------------------------------------------ Martin Hagelin Internet: hagelin@lne.kth.se Departement of Electrotechnology Royal Institute of Technology Sweden