How return control to app after SysAppLaunch?

2008-05-29 Thread Bulent Gecer
How do I return control of the system to an application properly after a SysAppLaunch call? I've written two apps, APP1 and APP2. APP1 launches APP2 and to get back to APP1 there is an exit-button in APP2 with the following code associated to it: switch (eventP-&

SysAppLaunch and OwnerIDs !

2008-05-29 Thread jianez
Hi everybody, I have a big problem when I try to call the "SysAppLaunch" function more than 14 times ! In fact, during this call, the system seems to increment an 'Owner ID' counter !? and never decrement it ! I saw that the OwnerID information was stored into the low nibb

SysAppLaunch call to Network Panel Question

2008-05-29 Thread Rick Gadbois
Hello, I want my application to display the networking services that are usually displayed by the network panel. I believe I need to use SysAppLaunch() with sysSvcLaunchCmdGetServiceList as a launch code in order to retrieve the list of avaiable services.. Is this correct and if so where is the

Don't help the jerk HELP ME!! ...SYSAPPLAUNCH

2008-05-29 Thread Rick Gadbois
ually displayed by the network panel. I believe I need to use SysAppLaunch() with sysSvcLaunchCmdGetServiceList as a launch code in calling the network panel, in order to retrieve the list of avaiable services.. Is this correct and if so where is the list returned so I can read and display it? I

SV: SysAppLaunch(...) bug?

2008-05-29 Thread Bulent Gecer
Thanks Ian! I found the error thanks to you! It was in the call to SysAppLaunch(), namely the last parameter I was passing: SysAppLaunch(0,DmFindDatabase(0, "app2"), 0, sysAppLaunchCmdNormalLaunch ,NULL, NULL); I passed NULL and then I wrote to it... Now it works perfectly though, th

SysAppLaunch(...) bug?

2008-05-28 Thread Bulent Gecer
I have two apps, app1 and app2. In app1 I do SysAppLaunch(0,DmFindDatabase(0, "app2"), 0, sysAppLaunchCmdNormalLaunch , NULL, NULL); which launches app2 successfully, but when I exit app2 either by pushing the application launcher button or by doing if(eventP->data.ctlEn

About SysAppLaunch

2008-05-28 Thread Chi-Yi Lin
Hello, In Palm OS Reference, it says that "SysAppLaunch" is used to launch a specified app as a subroutine of the caller. The question is that, does the "subroutine" app allocate a new stack of itself? Or does it use the same stack of the caller app? The other question is,

SV: About SysAppLaunch

2008-05-28 Thread Bulent Gecer
Chi-Yi Lin <[EMAIL PROTECTED]> skrev i diskussionsgruppsmeddelandet:[EMAIL PROTECTED] > > Hello, > > In Palm OS Reference, it says that "SysAppLaunch" is used to launch > a specified app as a subroutine of the caller. The question is that, does > the "

Re: About SysAppLaunch

2008-05-28 Thread Chi-Yi Lin
Thank you for your answer. It really helps a lot! But now I have another question about the launch code in "SysAppLaunch". I used "sysAppLaunchCmdNormalLaunch" as the launch code because my subroutine does nothing but displays the stack information. I cannot find other launc

Re: About SysAppLaunch

2008-05-28 Thread Paul Gilbert
Chi-Yi Lin <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thank you for your answer. It really helps a lot! > > But now I have another question about the launch code in "SysAppLaunch". > I used "sysAppLaunchCmdNormalLaunch" as the launch

SV: About SysAppLaunch

2008-05-28 Thread Bulent Gecer
behind" property of a modal form]. > > Correct me if im wrong, but when you launch another app, you quit the current > app. Thus you have to EXPLICITLY return to the previous app (like with the > same call but to the 1st app) If you use SysUIAppSwitch(...) - YES! If you use

Re: SysAppLaunch errors

2007-09-18 Thread Christopher Stamper
lockChar? > > Problem is, I need it to return, after unlocking, to the same place in the > code. Otherwise, things will get very messy. It seems that sysAppLaunch is > the only way to do it, UNLESS lockChar will return to the same place. Which > I doubt. > > And, Zire31 has sec

Re: SysAppLaunch errors

2007-09-18 Thread Christopher Stamper
I'll look around som more about this, maybe lockChar? Problem is, I need it to return, after unlocking, to the same place in the code. Otherwise, things will get very messy. It seems that sysAppLaunch is the only way to do it, UNLESS lockChar will return to the same place. Which I doubt.

Re: SysAppLaunch errors

2007-09-17 Thread Dmitry Grinberg
on those devices security is a panel not an application. to lock device correctly, you need to enqueue a specific char, which you can look up in the docs. On 9/17/07, Christopher Stamper <[EMAIL PROTECTED]> wrote: > I am having some trouble using sysAppLaunch to launch security and

SysAppLaunch errors

2007-09-17 Thread Christopher Stamper
I am having some trouble using sysAppLaunch to launch security and lock the device. It works just perfect on all devices, until E2, TX and 700p. What is wrong? Here is what I am using: static void LockIt() { Err err; UInt16

Re: prc-tools and multisegment application and SysAppLaunch command

2007-05-11 Thread Michal Seliga
its something completely wrong, even after my changes to .ld file, generated .prg file is still with more segments bash-3.2$ m68k-palmos-objdump.exe -h main.prg main.prg: file format coff-m68k Sections: Idx Name Size VMA LMA File off Algn 0 wM1K 4864

Re: prc-tools and multisegment application and SysAppLaunch command

2007-05-11 Thread Aaron Ardiri
On 5/11/07, Michal Seliga <[EMAIL PROTECTED]> wrote: main.prg: entry point 0xb79c too distant move your main function towards the start of the code segment. 0xb79c = 47004. this value should be, at maximum 32767, the limit of the relative jump on 68k -- // Aaron Ardiri -- For informati

Re: prc-tools and multisegment application and SysAppLaunch command

2007-05-11 Thread Michal Seliga
update, i must admit i don't have idea what exactly i was doing, but i tried to modify .ld file generated by m68k-pamos-multigen so all segments go to one coderes SECTIONS { wM1K : { *(.text) } > coderes wTAMA : { *(.text) } > coderes wWDI : { *(.text) } > coderes

prc-tools and multisegment application and SysAppLaunch command

2007-05-10 Thread Michal Seliga
omething that when i call application with SysAppLaunch that it will load other segments. this can be done in metrowerks using __LoadAndRelocate__ which i use succesfully. however, when i just copied needed sources and compiled them by prc-tools it didn't worked and i still got crash on first call

SysAppLaunch

2006-08-18 Thread Durgesh Trivedi
i m working on PNO application and from that i want to launch todolist 68k as sub application but it is giving the error message application database can't launch even the database is open. i unable to understand the problen. i also try that SysUIAppSwitch but the same problem please help me t

Re: Using sysAppLaunch

2006-08-04 Thread Durgesh Trivedi
rmAlert(ToDoListEmptyAlert); dbP = DmOpenDatabaseByTypeCreator 'DATA',sysFileCToDo,dmModeReadWrite); if(dbP) FrmAlert(ToDoListOkAlert); err= SysAppLaunch (0, dbID, 0,sysAppLaunchCmdNormalLaunch,NULL, &result); if(err) { FrmAlert(CloseDBAlert); DmCloseDatabase(dbP);

Re: Using sysAppLaunch

2006-08-04 Thread Thomas Damme
Durgesh Trivedi schrieb: I want to switch frm my application to todo application but using function sysAppLaunch givng run time error that the data base can't be launch.Even i open the database by DmOpenDatabaseByTypeCreator and it open the todo database. please help me If it fails

Using sysAppLaunch

2006-08-03 Thread Durgesh Trivedi
I want to switch frm my application to todo application but using function sysAppLaunch givng run time error that the data base can't be launch.Even i open the database by DmOpenDatabaseByTypeCreator and it open the todo database. please help me thanks -- For information on usin

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Krishna prasad
Try passing flag to create separate stack while doing sysapplaunch. I faced the same problem while handling notification event and passing the flag in sysapplaunch fixed it. --- Jeff Ondich <[EMAIL PROTECTED]> wrote: > Thanks very much for the suggestions. I have not > had troubl

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Jeff Ondich
Thanks very much for the suggestions. I have not had trouble with empty strings in FrmCustomAlert, and in fact, putting non-empty strings in those parameters has not fixed my problem. As it happens, I have developed a workaround for the moment, but I would still like to know why this function

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread P. Douglas Reeder, aka Skapti
John Sutton wrote: Jeff I'm not sure if I'm dreaming this, but I think I once had a problem with empty strings. FWIW try putting something inside the two empty strings just to rule out my paranoia. ie. FrmCustomAlert( MessageAlert, "whatever", "should be empty", "should also be empty" ); FWI

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Robert Moynihan
John Sutton wrote: Jeff I'm not sure if I'm dreaming this, but I think I once had a problem with empty strings. I recall something like that too. FWIW try putting something inside the two empty strings just to rule out my paranoia. ie. FrmCustomAlert( MessageAlert, "whatever", "should be e

RE: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread John Sutton
Jeff I'm not sure if I'm dreaming this, but I think I once had a problem with empty strings. FWIW try putting something inside the two empty strings just to rule out my paranoia. ie. FrmCustomAlert( MessageAlert, "whatever", "should be empty", "should also be empty" ); Cheers John -- For inform

FrmCustomAlert failure after SysAppLaunch

2006-03-23 Thread Jeff Ondich
Using some of the ideas in previous threads in this forum, I am launching my application from within itself via SysAppLaunch, using the sysAppLaunchFlagNewGlobals flag. I do this while processing a sysAppLaunchCmdNotify launch code. The reason I'm doing it is to gain access to more tha

re: Camera SysAppLaunch ERROR!!!!

2005-09-01 Thread mguo
SysAppLaunch (cardNo, dbID, 0,sysAppLaunchCmdNormalLaunch,NULL,&result); theoretically, you shouldn't use "sysAppLaunchCmdNormalLaunch" with SysAppLaunch since the calling (secondary) app doesn't have globals when it is lauched by SysAppLaunch. However, this is not the

Camera SysAppLaunch ERROR!!!!

2005-08-31 Thread pritam hasabnis
able to Launch the photo Application using following function: CamaraLaunchApplication2(). But if CamaraLaunchApplication1() is called it gives an run Time Error at Statement "err = SysAppLaunch (cardNo, dbID, 0,sysAppLaunchCmdNormalLaunch,NULL,&result);" Functions 1) Camara

SysAppLaunch undefined reference

2005-07-15 Thread Cesar Calvo Cobo
this reason, I have tried to use SysAppLaunch, SysUIAppSwitch on quit function , but I get an undefined error linking the application. I have changed the include to an absolute path "SystemMgr.h", I have tried with a previous sdk but everything without success. Any clue solve this

Re: App launch and SysAppLaunch() function.

2005-03-22 Thread Chris Tutty
From: "Fred Zheng" <[EMAIL PROTECTED]> > Q2. "SysUIAppSwitch()" works well. But sometimes I need to have the control > return to the calling application when finished. So I tries > "SysAppLaunch()". This is not that pleasant. it always collapses. > Y

Re: App launch and SysAppLaunch() function.

2005-03-22 Thread Ben Combee
Switch()" works well. But sometimes I need to have the control return to the calling application when finished. So I tries "SysAppLaunch()". This is not that pleasant. it always collapses. Anyone have a successful experience with "SysAppLaunch()", please reply to me! SysAp

App launch and SysAppLaunch() function.

2005-03-22 Thread Fred Zheng
sometimes I need to have the control return to the calling application when finished. So I tries "SysAppLaunch()". This is not that pleasant. it always collapses. Anyone have a successful experience with "SysAppLaunch()", please reply to me! Thanks Fred -- For information o

Re: SysAppLaunch issues

2005-02-05 Thread Brandon Roberson
especially across programs. Best of luck, Brandon On Sat, 5 Feb 2005 19:04:34 -, Zakai Hamilton <[EMAIL PROTECTED]> wrote: > Can I use longjmp/setjmp between SysAppLaunches? > > If I call setjmp in my application then call another application with > SysAppLaunch (with 0 a

SysAppLaunch issues

2005-02-05 Thread Zakai Hamilton
Can I use longjmp/setjmp between SysAppLaunches? If I call setjmp in my application then call another application with SysAppLaunch (with 0 as flags, so nothing special, no globals, new stack and so on) and then call longjmp in the sub-launch to return to the setjmp of the parent app, will

Re: SysAppLaunch

2005-01-12 Thread wyt
This reply for for Ben Combee. Hello Ben, Would you provide me directions(examples,documentation,etc) to learn about load/lock/call of code sections. Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SysNotifyBroadcast, SysAppLaunch and SysCurAppDatabase

2004-12-01 Thread Steven Fisher
Is it documented anywhere that calling SysNotifyBroadcast will invoke SysAppLaunch to launch the notification clients? Exactly how SysNotifyBroadcast invokes applications doesn't seem to be documented anywhere, unless I'm missing something... Why do I care? Well, I'm l

Re: SysAppLaunch

2004-10-26 Thread Ben Combee
At 09:43 AM 10/26/2004, you wrote: Hi, I'm trying to add SysAppLaunch functionnaly to my app. But it seems that i cannot use SysAppLaunch to call a multi-segment application, i have an "invalid read from xx" error calling a function Outside the first segment. Is there a way to f

SysAppLaunch

2004-10-26 Thread Chris Apers
Hi, I'm trying to add SysAppLaunch functionnaly to my app. But it seems that i cannot use SysAppLaunch to call a multi-segment application, i have an "invalid read from xx" error calling a function Outside the first segment. Is there a way to fix this problem with CW9.3 ?

Re: SysAppLaunch

2004-06-15 Thread Ben Combee
At 03:10 AM 6/15/2004, Ingemar Bergmark wrote: Is there any documenation anywhere that describes how to use the launchFlags argument in SysAppLaunch()? I knowI'm only supposed to supply 0, but since it's there I guess that it's possible to use this in certain situations

SysAppLaunch

2004-06-15 Thread Ingemar Bergmark
Hi, Is there any documenation anywhere that describes how to use the launchFlags argument in SysAppLaunch()? I knowI'm only supposed to supply 0, but since it's there I guess that it's possible to use this in certain situations. I've scanned SystemMgr.h and seen th

Re: SysAppLaunch

2004-05-29 Thread Ben Combee
At 02:10 PM 5/29/2004, you wrote: Ben Combee wrote: >It isn't supported to launch other applications using SysAppLaunch and the >sysAppLaunchCmdNormalLaunch launch code. Among other things, this causes >the reinitialization of the UI subsystem, so when you return to the >ori

Re: SysAppLaunch

2004-05-29 Thread Danielle O'Hallisey
Ben Combee wrote: >It isn't supported to launch other applications using SysAppLaunch and the >sysAppLaunchCmdNormalLaunch launch code. Among other things, this causes >the reinitialization of the UI subsystem, so when you return to the >original application, it's windows

Re: SysAppLaunch

2004-05-28 Thread Ben Combee
At 03:48 PM 5/28/2004, you wrote: Hi! I managed to launch another app from mine using 'SysAppLaunch', but when that closes, my app does not redraw. I tried something like this: InputParameterPtr p; // prepare parameters to the other app . . ::SysAppLaunch(0, clien

SysAppLaunch

2004-05-28 Thread rodrigo . canellas
Hi! I managed to launch another app from mine using 'SysAppLaunch', but when that closes, my app does not redraw. I tried something like this: InputParameterPtr p; // prepare parameters to the other app . . ::SysAppLaunch(0, clientes, Flags, sysAppLaunchCmdNormalLaunch,

Re: SysAppLaunch and audio players?

2004-04-28 Thread Greg Sepesi
> >which (if any) can be directed to play a compressed audio file (either > >MP3 or OGG will do) by a SysAppLaunch command? > > > >- AeroPlayer by Aerodrome Software > >- AudiblePlayer by Audible.com > >- Pocket Tunes by NormSoft > >- RealOne Mobile Play

Re: SysAppLaunch and audio players?

2004-04-28 Thread Ben Combee
At 01:57 PM 4/28/2004, you wrote: which (if any) can be directed to play a compressed audio file (either MP3 or OGG will do) by a SysAppLaunch command? - AeroPlayer by Aerodrome Software - AudiblePlayer by Audible.com - Pocket Tunes by NormSoft - RealOne Mobile Player by RealNetworks PocketTunes

SysAppLaunch and audio players?

2004-04-28 Thread Greg Sepesi
Hi All, >From palmsource's list of audio players (at http://applications.palmsource.com/Software/Solutions.asp?Ent=&PCID=24&PSCID=117) which (if any) can be directed to play a compressed audio file (either MP3 or OGG will do) by a SysAppLaunch command? - AeroPlayer by Ae

Re: SysAppLaunch()

2004-04-05 Thread Ben Combee
At 08:00 AM 4/5/2004, you wrote: Hello developers !! My application needs to switch from app to web browser and back to my app. Now I am able to launch the web browser but how do i get back to the app which called the browser. Most web browsers don't support a "return to caller" function. This

SysAppLaunch()

2004-04-05 Thread wax wacky
Hello developers !! My application needs to switch from app to web browser and back to my app. Now I am able to launch the web browser but how do i get back to the app which called the browser. I tried sublaunch ( SysAppLaunch() )but it didnt work... How do i do it ??? Is there any way out

Re: No globals when using SysAppLaunch?

2004-04-01 Thread Ben Combee
At 02:31 AM 4/1/2004, you wrote: None of the statically linked libraries (such as the PalmOSRuntime_2i_A5.lib or PalmOSGlue.lib) needs to use my global data segement! PalmOSRuntime uses global variables to implement C++ exception handling and RTTI, but otherwise works fine without their availabilt

Re: No globals when using SysAppLaunch?

2004-04-01 Thread Patrick Tuan
Thanks for the clarification. Maybe Palm Source should have made this clear in the documentation. My purpose is really to activate a program with UI as part of the calling application. To the user, what he sees is just another form brought up instead of a different application. I think this can be

Re: No globals when using SysAppLaunch?

2004-03-31 Thread Ben Combee
At 10:06 PM 3/31/2004, you wrote: Can anybody tell me that is it true that when apps called up by SysAppLaunch() don't have globals? Palm document didn't say so, but no matter how I tried, it's always like this. The code I use is like following: LocalID lid; UInt32 result; lid = D

No globals when using SysAppLaunch?

2004-03-31 Thread Patrick Tuan
Can anybody tell me that is it true that when apps called up by SysAppLaunch() don't have globals? Palm document didn't say so, but no matter how I tried, it's always like this. The code I use is like following: LocalID lid; UInt32 result; lid = DmFindDatabase(0, "Memo Pad&qu

Re: Another SysAppLaunch problem with Cobalt

2004-03-06 Thread Ben Combee
At 01:03 PM 3/6/2004, you wrote: It would make more sense to have it over there if I were working on ARM-native versions of my apps. That's not the case... right now, I'm just trying to get my m68k apps working as they were before through PACE. If taking stuff over there better facilitates bringin

Re: Another SysAppLaunch problem with Cobalt

2004-03-06 Thread Brian Smith
bably use feature memory instead to pass stuff back. > Of course, a reading of the SysAppLaunch docs in the Cobalt SDK says > that "SysAppLaunch" is discouraged now; you should use SysAppLaunchLocal > or SysAppLaunchRemote instead. > > I'd agree -- there needs to be a be

Re: Another SysAppLaunch problem with Cobalt

2004-03-06 Thread Ben Combee
At 12:34 PM 3/6/2004, you wrote: With versions up through 5.x, I can pass arguments via a parameter block to an app I call with SysAppLaunch, but can also pass return values back to the calling app through that same block of memory. With Cobalt, that doesn't work so well... with the exact

Another SysAppLaunch problem with Cobalt

2004-03-06 Thread Brian Smith
With versions up through 5.x, I can pass arguments via a parameter block to an app I call with SysAppLaunch, but can also pass return values back to the calling app through that same block of memory. With Cobalt, that doesn't work so well... with the exact same code, the returned values come

FrmSetTitle() via SysAppLaunch() and OS5.0

2004-01-06 Thread Paul Nevai
Is it known that if I have a form and and an frmP to it and then do a SysAppLaunch() job and FrmSetTitl(frmP,...) from inside the subroutine, then this resets the Tungsten T [OS 5.0]? In what OS 5.x was this fixed? It works fine in OS 4-. It must be one of those PACE issues. /PaulN -- For

Re: SysAppLaunch()

2004-01-06 Thread Aaron Ardiri
> > Alternatively look for a calculator replacement that runs without globals. > > How can you readily know that? > Trouble is I don't control which calculator users choose. the thing is, you cannot. why not just write your own calculator module and embed it within your own application? you could

Re: SysAppLaunch()

2004-01-06 Thread Luc Le Blanc
Roger Stringer a écrit : > >Subject: Re: SysAppLaunch() > >From: Luc Le Blanc <[EMAIL PROTECTED]> > >Date: Mon, 05 Jan 2004 13:57:36 -0500 > > > >I had the same need, but could not find a proper way to spawn the > >calculator and return to my applicatio

Re: SysAppLaunch()

2004-01-06 Thread Roger Stringer
Subject: Re: SysAppLaunch() From: Luc Le Blanc <[EMAIL PROTECTED]> Date: Mon, 05 Jan 2004 13:57:36 -0500 I had the same need, but could not find a proper way to spawn the calculator and return to my application afterwards. So instead, when the user hits the calculator button, I l

Re: SysAppLaunch()

2004-01-05 Thread Luc Le Blanc
Marcelo Alves a écrit : > Luc Le Blanc wrote: > > I had the same need, but could not find a proper way to spawn the calculator and > > return to my application afterwards. So > > instead, when the user hits the calculator button, I link my application to the > > calculator button before letting

Re: SysAppLaunch()

2004-01-05 Thread Marcelo Alves
Luc Le Blanc wrote: I had the same need, but could not find a proper way to spawn the calculator and return to my application afterwards. So instead, when the user hits the calculator button, I link my application to the calculator button before letting the OS handle the keyDown event, so that wh

Re: SysAppLaunch()

2004-01-05 Thread Luc Le Blanc
I had the same need, but could not find a proper way to spawn the calculator and return to my application afterwards. So instead, when the user hits the calculator button, I link my application to the calculator button before letting the OS handle the keyDown event, so that when the user is done

Re: SysAppLaunch()

2004-01-05 Thread Ben Combee
This is exactly my problem, the application (the calculator in my case) is executing itself but when I'm done with it, my application does not relaunched (return to launcher). The calculator doesn't provide an "exit" mechanism. There is no UI for the user to say "I'm done with the calculator".

Re: SysAppLaunch()

2004-01-05 Thread gpg
>... "Remember, if the second app returns to the OS without having >setup a "follow-on" app, your original app will be relaunched ..." This is exactly my problem, the application (the calculator in my case) is executing itself but when I'm done with it, my application does not relaunched (return

Re: SysAppLaunch()

2004-01-05 Thread Ben Combee
At 11:23 AM 1/5/2004, Dirk Bridgedale wrote: I'm trying to launch one of my applications from another using SysAppLaunch command: dbID = DmFinfDatabase(0, "BoilCalc"); err = SysAppLaunch(0, dbID, 0, sysAppLaunchCmdNormalLaunch, (void*) data, &result); but I get

SysAppLaunch()

2004-01-05 Thread Dirk Bridgedale
I'm trying to launch one of my applications from another using SysAppLaunch command: dbID = DmFinfDatabase(0, "BoilCalc"); err = SysAppLaunch(0, dbID, 0, sysAppLaunchCmdNormalLaunch, (void*) data, &result); but I get an error saying the "application ac

SysAppLaunch

2003-12-22 Thread Dirk
I'm trying to launch one of my applications from another using SysAppLaunch command: dbID = DmFinfDatabase(0, "BoilCalc"); err = SysAppLaunch(0, dbID, 0, sysAppLaunchCmdNormalLaunch, (void*) data, &result); but I get an error saying the "application ac

SysAppLaunch and MemHandleSetOwner

2003-12-07 Thread Yona Dolev
Hi, I'm passing a struct containing memhandles as a parameter block to SysAppLaunch, Can anyone send me an example of how to use the MemHandleSetOwner? thanks, Yona. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: SysAppLaunch

2003-11-13 Thread Marianne
Hello All, My problem has beem solved Thanks a lot Marianne - Original Message - From: "Marianne" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:28 PM Subject: Re: SysAppLaunch > > Hi &

Re: SysAppLaunch

2003-11-13 Thread Marianne
Hi My Code is as follows: error = DmGetNextDatabaseByTypeCreator(true,&SearchType,'appl', MY_CREATOR,false,&cardNo,&dbID); if(!error) //SysUIAppSwitch (0,dbID,sysAppLaunchCmdNormalLaunch,NULL); SysAppLaunch( cardNo, dbID, 0, sysAppLaunchCmdNormal

Re: SysAppLaunch

2003-11-13 Thread Marianne
Hi Thanks for the help... It worked fine, but the moment I used SysAppLaunch insted of SysUIAppSwitch Palm crashes saying Bus Error, and I have to reset it.. Can you help me with this.. Marianne - Original Message - From: "Duc Dang" <[EMAIL PROTECTED]> To: "

Re: SysAppLaunch

2003-11-13 Thread Duc Dang
ication that you set on Settings > >Hope helping you. >Duc >*** REPLY SEPARATOR *** > >On 11/13/2003 at 3:59 PM Marianne wrote: > >>Hello All, >> >>I want to launch another application from my application and when done >with >>that applicatio

Re: SysAppLaunch

2003-11-13 Thread Duc Dang
my application and when done with >that application return back. I have used SysAppLaunch for this, but from >where will I get the CardNo and DBId for the same, I know the appCreator >ID.. > >I tried using DmGetNextDatabaseByTypeCreator but it did not help me.. > >Can a

SysAppLaunch

2003-11-13 Thread Marianne
Hello All, I want to launch another application from my application and when done with that application return back. I have used SysAppLaunch for this, but from where will I get the CardNo and DBId for the same, I know the appCreator ID.. I tried using DmGetNextDatabaseByTypeCreator but it did

Blank screen after SysAppLaunch

2003-09-10 Thread Andreas Johansson
Hi! I'm trying to launch an application from a virtual character notification handler with SysAppLaunch(). The application is launched and runs as normal, but when the application quits (does not send an AppStopEvent) the screen goes blank and the previous application does not respond to

a SysAppLaunch() launchFlag question

2003-07-17 Thread Paul Nevai
When I launch the same application from an m515 [OS 4.x] and from a Tungsten T [OS 5.x] the launchFlag is 142 and 174, resp. The difference is 0x20 which is not documented anywhere [cf. SystemMgr.h]. Can someone explain to me the meaning of the 0x20 launchFlag? BTW, it doesn't matter if I launch

CodeWarrior 9 and SysAppLaunch problem

2003-07-08 Thread iwanicki . l
. I was able to successfully migrate all the sub-projects accept the one which creates the PRC called with SysAppLaunch, which is responsible for printing. I am able to compile this printing application but when I launch it from inside my main program it crashes after some time. I tried to debug it

Re: An interesting challenge regarding SysAppLaunch

2002-12-28 Thread Gabriel Rymberg
eveloper Forum Subject: An interesting challenge regarding SysAppLaunch Hello all: I post this interesting challenge, that has cause me loose many nights of sleep, in the hope that the Palm OS gurus out there might provide me the clue to pull this off. The entire scenario pertains to a Handspring Plati

RE: An interesting challenge regarding SysAppLaunch

2002-12-27 Thread Kevin OKeefe
: Friday, December 27, 2002 4:19 AM To: Palm Developer Forum Subject: An interesting challenge regarding SysAppLaunch Hello all: I post this interesting challenge, that has cause me loose many nights of sleep, in the hope that the Palm OS gurus out there might provide me the clue to pull this off

An interesting challenge regarding SysAppLaunch

2002-12-27 Thread Gabriel Rymberg
case hsSysAppLaunchCmdRemove or hsSysAppLaunchCmdInstall), and thus uses SysAppLaunch to perform the subroutine call. No problems here, as Program B was built to run under non-normal launch codes and thus supposedly uses no globals or statics. Alas, this is where the plot thickens... Program B does not be

Can You use SysAppLaunch to send codes to yourself ???

2002-06-21 Thread Richard . Anderson
Hi, Is it safe to use SysAppLaunch to send codes to yourself ??? Thanks, Richard Anderson -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SysAppLaunch and EvtProcessSoftKeyStroke hack

2002-05-25 Thread Jose
I'm trying to sublaunch (SysAppLaunch) my application from within a EvtProcessSoftKeyStroke hack so that I could return to the currently running application when my app is done. I'm sublaunching with a custom launch code and then executing as if I was launched with a normal launch code.

SysAppLaunch() limitations

2002-05-20 Thread Joe
What limitations exist when your app is being called with a custom launch code as a subroutine to another app via SysAppLaunch (other than the obvious lack of globals and the inability to access any code outside of segment 0). For example, can the sublaunched app always put up UI, set a form

RE: Parameter block with SysAppLaunch

2002-05-10 Thread Keith Rollin
as used with a normal launch >(rather than SysAppLaunch) for the second application, the bus error >still occured when viewing the connection in the Connection >Preferences panel. If Poser is generating a bus error for your application, you may want to consider looking into it some mor

RE: Parameter block with SysAppLaunch

2002-05-10 Thread Gearoid Murphy
was used with a normal launch (rather than SysAppLaunch) for the second application, the bus error still occured when viewing the connection in the Connection Preferences panel. >From: Danny Epstein <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECT

Re: sysapplaunch

2002-05-02 Thread robert20155
So your SysAppLaunch is working? I'm not familiar with the Print() library you mention, but if the only purpose of the Print() statement in your code is to verify that your SysAppLaunch worked, try using WinDrawChars() instead. I know this will work; I have used it myself to verify that o

Re: sysapplaunch

2002-05-02 Thread Dilek Özgü
md, MemPtr cmdPBP, UInt16 launchFlags) > { > Err error; > error = RomVersionCompatible (ourMinVersion, launchFlags); > if (error) return (error); > switch (cmd) > { > case 52769: > Print( ); > break; > > default: > break; > } > > > and I have a program B. > I

Re: sysapplaunch

2002-05-02 Thread robert20155
ch (cmd) > { > case 52769: > Print( ); > break; > > default: > break; > } > > > and I have a program B. > I called the program A in this way. > SysAppLaunch( 0, dbA, 0, 52769,dataP, &PrintResult ); > > But It doesn 't work. > I got the error messag

RE: sysapplaunch

2002-05-02 Thread Waseem Anis
I too am looking for a solution to this problem .. unnfortunately no luck yet !! -Original Message- From: Dilek Özgü [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 4:38 PM To: Palm Developer Forum Subject: sysapplaunch Hi ! I use Codewarrior. I have 2 programs to write

sysapplaunch

2002-05-01 Thread Dilek Özgü
(ourMinVersion, launchFlags); if (error) return (error); switch (cmd) { case 52769: Print( ); break; default: break; } and I have a program B. I called the program A in this way. SysAppLaunch( 0, dbA, 0, 52769,dataP, &PrintResult ); But It doesn 't work. I got the error message "Fatal Except

SysAppLaunch Network Control Panel

2002-04-26 Thread Rafael Sánchez Alfonso
Hello, I am having problems when trying to go to the Network Control Panel from my application by using SysAppLaunch. After connecting I need to go back to my application at the same place where I leaved it. But I receive errors (a Fatal Alert which states: StdIOProvider.c, Line:1268, Too many

SysAppLaunch

2002-02-03 Thread Carmen Sandiego
What is the right way to use SysAppLaunch? I switch control to a sub-application and then return control to the main application. However, the screen does not always update with new data. Am I missing anything? Is using SysAppLaunch equivalent to closing one app, opening another, and then

RE: sysAppLaunch

2002-01-22 Thread Peter Epstein
on as a subroutine. The application being launched will not have access to globals. Use SysAppLaunch to do this, and expect the call to block until the subroutine has finished running. While it is technically possible to pass the new globals flag to SysAppLaunch, it isn't supported, and there

Re: err sysAppLaunch

2002-01-22 Thread Joe
--- ramprasad jaganathan wrote: > > while using sysappllaunch function i get an eror no. the no is 1282. > I dont know what this error no is and how to rectify it. 1282 (decimal) is sysErrParamErr. One of the values you passed to SysAppLaunch() is invalid. John Marshall posted a ve

err sysAppLaunch

2002-01-21 Thread ramprasad jaganathan
, 22 Jan 2002 jay wrote : > Hi everyone: > I have not been able to launch an application with its > globals using > sysAppLaunch. The documentation does not talk about > this, although, it does > mention that the application is launched as a > subroutine of the call

  1   2   >