Use PrefOpenPreferenceDB() to open the preferences database.

It takes a boolean argument indicating whether to open the Saved or Unsaved
preferences.



"Mike McCollister" <[EMAIL PROTECTED]> wrote in message
news:110272@palm-dev-forum...
>
> Brian,
>
> > > When I create a new resource using DmNewResource, it creates it in the
> > > unsaved preferences.  Why does this happen?  How can I get it to go to
> > > the saved preferences section?
> >
> > This begs the question... why are you using DmNewResource to put stuff
in
> > the preferences database(s)?  That's what the Preferences functions are
> > for :-)
>
> Actuall, I'm wanting to create a database that will be read by the system.
> Because of this I can't have the version as the first two bytes.
Actually, I
> was able to get it to work usign the Preferences functions and kludging
the
> version information as part of the data in the resource.
>
> I still don't know why the resource is in the unsaved section.
>
> Mike
>
> >
> > --
> > -----------------------------------------------------------------------
> > Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
> > Software Developer  //  Gamer  //   Webmaster  //  System Administrator
> > "Senate, n.: A body of elderly gentlemen charged with high duties and
> >  misdemeanors."  -- Ambrose Bierce
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
please
> > see http://www.palmos.com/dev/support/forums/
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.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