I'm not sure exactly what you're doing when you try to
display your UI, or what your hack is meant to do,
but you may have to manage
the loading/display of these UI resources using the
lowest-level Palm OS APIs you can, since you're
probably executing in the context of the currently running app
(in which case, for example, the current resource database
is that of the currently running app, not your hack).

When I was doing the same, it was helpful to look at
a few examples, like AppDA Launcher or McPhling.

Joe


"Geoff Thompson" <[EMAIL PROTECTED]> wrote in message
news:92371@palm-dev-forum...
>
>
> "Ben Combee" <[EMAIL PROTECTED]> wrote in message
> news:92322@palm-dev-forum...
>
> > It is happening at the Rez level, not the linker level, which is why you
> > see an error, not a warning.  I suggested that you not link your
> > Constructor resources into the project until the final Hack target --
> > did that not work?
> >
> > (Basically, unselect .rsrc files from the targets that make your .tmp
> > file, and add them all to the final target that outputs the .prc)
> >
>
>
> I removed the resources from the .tmp (patch) targets, and added them to
the
> final hack target, and was able to get the Hack to compile and link, but
> when it executes, I now get the following:
>
> Address (3.5) called SysFatalAlert with the message:  "Form.c, Line 1728,
> Object not in form".
>
> Hopefully, I'm missing something trivial in the settings, and not making a
> 'big-picture' kind of blunder here.  None of the doc on hacks that I've
seen
> (Ed Keyes' hackmaster.api doc, doc on X-Master, doc on DemoHack) talk
about
> UI within hacks (other than the control panel UI range of 2000-2999 for
use
> within hackmaster/x-master), but since I've seen other hacks with UI, I'm
> assuming my hack can have UI?  Are there restrictions on ID ranges for UI
> called from the patches themselves?  Do I need something in Hack.r to
> identify UI resources that are used by the patches, in addition to the
patch
> .tmp files and the X-Master resources that are defined there?
>
>
>
>
>



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

Reply via email to