On Thu, 18 Apr 2002, Scott Johnson wrote:
> > the tool does not seem to be available for my choice
> > of development platform.
>
> It turns out that Palm's slogan of "tool of choice on the platform of
> choice" means *their* choice.  :-)

  not all of us agree with the choices our "founders" make - and, we have
  to learn to live with them dont we? :) there is always PPC and Symbian
  if you get ticked off enough *g* - or, just code your own tools.

  ps: it is "PalmSource" :) not "Palm" - *g*

  also, for the doco' writers.. page 317 (chapter 11) - maybe an
  error in the Programmers Companion (4.0) with the comments of
  the second code snippet:

---
  // Right. DmGet1Resource searches both databases.
---

  now, if you look at the documentation for DmGet1Resource, it
  specifically states:

---
Purpose: Search the most recently opened resource database and
         return a handle to a given the resource type and ID.
---

  documentation says DmGet1Resource searched both (overlay + prc)
  where, DmGet1Resource says it only searches the most recently
  opened resource database.. anyone see some confusion here? :)
  "Search the most.." means, the last one opened.. not all open :)
  there is an error somewhere :)

  it would also be nice to have meaningful names sometimes?

  who chose DmGet1Resource and DmGetResource for names? :P maybe
  it would be better to have *one* API - which, would remove any
  confusion in this matter:

    MemHandle DmGetResource(DmResType type,
                            DmResID   resID,
                            Boolean   searchAllOpen);

  i dont want to get started in picking on documentation and API
  calls now - its time for bed :) but, these two API calls have
  been confusing for some fellow developers i have worked with.

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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

Reply via email to