Re: application start from another application

2007-07-18 Thread luis maldonado

thank you Phreak,,

this works...

luis




From: "Phreak OnALeash" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" 
To: "Palm Developer Forum" 
Subject: Re: application start from another application
Date: Tue, 17 Jul 2007 09:01:28 -0700

SysUIAppSwitch(0,DmFindDatabase(0,"MyApp"),0,sysAppLaunchCmdNormal,
0,&resultP);

LocalID is not the same as app name. to get id use DmFindDatabase

On 7/17/07, luis maldonado <[EMAIL PROTECTED]> wrote:
>
> Hi one and all...
>
> I'm trying to start an application using the following code:
>
> Err = SysAppLaunch (0 , 0, 0,0 , "MyApp",  &resultP);
>
> and all I get is a crash, what am I doing wrong?
>
> in reading the ACCESS documentation, it documents the
> Err SysAppLaunch (
>   UInt16 cardNo,
>   LocalID dbID,
>   UInt16 launchFlags,
>   UInt16 cmd,
>   MemPtr cmdPBP,
>   UInt32 *resultP
> )
>
> as the API function to use to call another application as a subroutine 
but

> the documentation
> does not give an example on how to use the function or a description of
> the
> parameter block...
>
> Can any one point me in the right direction?
>
> Thanks to all
>
> _
> http://newlivehotmail.com
>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



--
/*PhreakOnALeash*/

WELCOME TO THE DISCLAIMER!

Please, protect your family.
This mail contains explicit depictions
Of things which are real.
These real things are commonly known as life.
So, if it sounds sarcastic, don't take it seriously.
If it sounds dangerous,
Do not try this at home or at all.
And if it offends you, just don't listen to it.

--
For information on using the ACCESS Developer Forums, or to unsubscribe, 
please see http://www.access-company.com/developers/forums/


_
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


re: application start from another application

2007-07-18 Thread luis maldonado

muito obregado Caio

Gracias

sweet and to the point, just what I was looking for.

Thanks a million...

Luis




From: [EMAIL PROTECTED]
Reply-To: "Palm Developer Forum" 
To: "Palm Developer Forum" 
Subject: re: application start from another application
Date: Tue, 17 Jul 2007 16:04:03 -

Hi Luis,

To call another application, use the SysUIAppSwitch function.
Take a look at this sample:

LocalID localID;
localID = DmFindDatabase (0, "Memo Pad");

if (localID)
{
SysUIAppSwitch(0, localID, sysAppLaunchCmdNormalLaunch, 0);
}

Best Regards,
--

Caio Proiete
PDAExpert Tecnologia em Software

Web Site: http://www.pdaexpert.net


--
For information on using the ACCESS Developer Forums, or to unsubscribe, 
please see http://www.access-company.com/developers/forums/


_
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


re: application start from another application

2007-07-17 Thread caio-developerpavilion
Hi Luis,

To call another application, use the SysUIAppSwitch function.
Take a look at this sample:

LocalID localID;
localID = DmFindDatabase (0, "Memo Pad");

if (localID)
{
SysUIAppSwitch(0, localID, sysAppLaunchCmdNormalLaunch, 0);
}

Best Regards,
-- 

Caio Proiete
PDAExpert Tecnologia em Software

Web Site: http://www.pdaexpert.net


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: application start from another application

2007-07-17 Thread Phreak OnALeash
SysUIAppSwitch(0,DmFindDatabase(0,"MyApp"),0,sysAppLaunchCmdNormal,
0,&resultP);

LocalID is not the same as app name. to get id use DmFindDatabase

On 7/17/07, luis maldonado <[EMAIL PROTECTED]> wrote:
>
> Hi one and all...
>
> I'm trying to start an application using the following code:
>
> Err = SysAppLaunch (0 , 0, 0,0 , "MyApp",  &resultP);
>
> and all I get is a crash, what am I doing wrong?
>
> in reading the ACCESS documentation, it documents the
> Err SysAppLaunch (
>   UInt16 cardNo,
>   LocalID dbID,
>   UInt16 launchFlags,
>   UInt16 cmd,
>   MemPtr cmdPBP,
>   UInt32 *resultP
> )
>
> as the API function to use to call another application as a subroutine but
> the documentation
> does not give an example on how to use the function or a description of
> the
> parameter block...
>
> Can any one point me in the right direction?
>
> Thanks to all
>
> _
> http://newlivehotmail.com
>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>



-- 
/*PhreakOnALeash*/

WELCOME TO THE DISCLAIMER!

Please, protect your family.
This mail contains explicit depictions
Of things which are real.
These real things are commonly known as life.
So, if it sounds sarcastic, don't take it seriously.
If it sounds dangerous,
Do not try this at home or at all.
And if it offends you, just don't listen to it.

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

application start from another application

2007-07-17 Thread luis maldonado

Hi one and all...

I'm trying to start an application using the following code:

Err = SysAppLaunch (0 , 0, 0,0 , "MyApp",  &resultP);

and all I get is a crash, what am I doing wrong?

in reading the ACCESS documentation, it documents the
Err SysAppLaunch (
  UInt16 cardNo,
  LocalID dbID,
  UInt16 launchFlags,
  UInt16 cmd,
  MemPtr cmdPBP,
  UInt32 *resultP
)

as the API function to use to call another application as a subroutine but 
the documentation
does not give an example on how to use the function or a description of the 
parameter block...


Can any one point me in the right direction?

Thanks to all

_
http://newlivehotmail.com


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/