Hello,

I have been trying to write some simple Hackmaster hacks with Codewarrior
R5.2 on Windows NT.

I have a target that is a Palm OS resource with the linker settings on.
The entry point is the trap routine with the resource type as CODE and
the id as 1000.  The appropriate trap id is set on the Linker panel
(0xA1BF) to handle menu events.  This works great.

Then I added a resource file created in constructor with an tFRM resource
with id 3000 and the icon showed up in Hackmaster and the about dialog
worked fine.

I want a control panel form so I added a tFRM resource with an id of 2000
to the same resource file in constructor and added a new target of type
code resource to the project and created an association between it
and the original target.  The entry point of the new target is the form
handler the resource type is CODE and the id is 2000.  The linke is turned
off.

It didn't work.  I am pretty new to Palm and especially Codewarrior.  Is
this approach at all valid?

I checked out DemoHack and it works great, but the way the project must be
setup in Codewarrior seems extremely clumsy.  Is there a cleaner/better
way to add the control panel form and multiple patch routines?  Should I
switch back to GCC for hacks?

Thanks,
Dan Munk
[EMAIL PROTECTED]


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to