On Mon, Aug 28, 2000 at 03:09:25PM -0400, Brian Mathis wrote:
> On Mon, 28 Aug 2000, Tom Zerucha wrote:
> [...]
> > If it's that simple, it should be shorter than this message:
> > 
> > installpdb(char *pdbpath) {
> 
> // check to see if there's more than 1 user on this system

Using the user list which usually causes a message about the
installaide dll not being found...

> // if yes, *ask them* which user to use

HotSync and Install manages to figure this out without asking.  How do
I do that?

Again, I *CAN* do this by hacking the registry.  If Palm is saying
that all user apps should be lame by independently asking which user
instead of using a system wide "last user" default they should say so
specifically.

If I have to make the user go through extra steps in my program, I may
as well write the pdb out and tell the user to double-click on it as
it would be fewer steps, especially with lots of databases.

> // if no, default to that user

> > PltInstallFile(
> > //and here
> > );
> > }
> > main(int argc, char *argv[]) {
> > if( argc != 2) exit(-1);
> > installpdb(argv[1]);
> > }
> 
> 
> -- 
> Brian Mathis
> Direct Edge
> http://www.directedge.com
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/

-- 


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

Reply via email to