Newsgroups: comp.sys.atari.st
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!faui09!tnzoerne
From: tnzoerne@faui09.informatik.uni-erlangen.de (Thorsten Zoerner)
Subject: Questions on Desktop/Environment
Message-ID: <tnzoerne.675526801@faui09>
Summary: Question
Keywords: Desktop Environment
Organization: CSD., University of Erlangen, Germany 
Distribution: comp.sys.atari.st
Date: Wed, 29 May 1991 14:20:01 GMT
Lines: 34

Question on Environment:

I am actually writing a program, that shall read some Variables
out of the environment. But I reckognized something very strange:
Desktop overgives the first called program the environment:

PATH=\0      (\0 means Nul-Char)
C:\\\0       (\\ means Backslash)
\0\0
trash...

Now I can't guess, what that second String could mean. It is *not*
dependent on the starting-directory. Maybe it shall be the Boot-
Directory ? But I load AUTO-Prgs. and DESKTOP.INF from Disk A: !!

That is also not the MS-DOS-Standard, as there after the twice-Nul-
Bytes the starting-directory should be overgiven, and before only
correct Definitions (including a '=').

Question on Accessories under Dektop:

Is there any way to reckognize from out of an Accessory if the
aktual process is the Desktop (when receiving an acc_open) ?
I want to write a program, that opens automatically a window on
the Desktop to display some things; but that shall not happen
in other programs. (Thats no problem in TOS-programs, cause you
don't happen to get an acc_open)

   Perhaps some kind person has an idea and tells me about it ?

Thanks, little TOM
----
Thorsten Zoerner, Neuweiherstr.36, D-8523 BD
tnzoerne@faui09.informatik.uni-erlangen.de
