No, I had already read this document before. there's a paragraph stating you can't
use global variables, but it doesn't explain why.

I looked at the source code for the tutorial DA, and it does allocate one global
variable that points to a structure holding all the global variables, contradicting
the document. Smaller tests with DAs worked well with quite a few global variables.

My question is: Why is there a limitation on global variables for Desk Accessories?

Are global variables allocated on the stack? If so, shouldn't there be the same kind
of restriction for local vars (allocated on the stack, even if temporarily).

Desk Accessories are quite a good idea, but it is really lacking documentation...

Ivan Shiyan wrote:

> Well, as I remember, there's a special paragraph in
> http://home.earthlink.net/~terada/pilot/da_memo_e.txt
> explaining this
>
> Ivan
>

--
Sergio Carvalho
---------------
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you


Reply via email to