I want to display a dialog box in a shared library. But it seems to me that
Palm OS cannot do this; it always looks for resources in the calling app's
.prc database. Am I missing something here? (I can't create a new form at
run-time because there is a scroll bar which cannot be created on-the-fly.
And there are graphic buttons too. So I have to put the dialog in the
resource.)

And a somewhat related question: When the form handler receives a message
from the system, the library's reference number does not come with the
message. Although I think I can save the ref. number in a preference area or
even a database, but it's not that convenient.

Seems like shared libraries, in Palm's mind, are meant for doing some silent
operations. User interface of any kind, including error messages, are not
welcome. Unless there is a strong architectural reason for such limit,
otherwise I think such design greatly restricts what the OS can do. Like
plug-ins can be difficult to do for Palm OS. Windows DLLs do not have such
limitation. Why!!??

(Since the first day I started doing Palm programming, I always have this
impression: The design goal for Palm OS was only for simple PIM
applications, such as address book or alike. It's never meant to handle
appications of some complexity. I can't blame 3Com or Palm; after all, it
was almost 20 years ago. Who could predict the advancement of technology?
But when facing the competition from PocktPC -- an OS with technologies
rooted from desktop computers, Palm OS's future is really .... not that
bright.)



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to