Problems on FrmDrawForm(), CW v9.0

2004-04-01 Thread Sinoptic
Hi,

Previously, I've used CW v8 and everything were fine
with PalmOS 4.1 and 5.x

After installation CW v9.0 I've got problems after compilation.

PalmOS 4.1 shows:
"Application just executed an illegal or unknown machine language
instruction.
The opcode executed was 0xFFBC."
on FrmDrawForm().


in the following fragment.

fromOpenEvent :

frmP = FrmGetActiveForm();
FrmDrawForm(frmP);

PalmOS 5.x works fine.

I cannot find the reason of this, my successefull
source code was not changed. It seems that compilator
doesn't work correctly.

Maybe someone met this problems and pass it?
Could you suggest any solution to avoid this problem?

Thank you very much.



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


RE: DmGetNextDatabaseByTypeCreator not reading from card

2004-04-01 Thread Matthew Bevan
Todd,

You mis-interpret what a card is, in this instance.  The Dm calls refer to
RAM 'cards' - theoretically there can be more than one.  In practise,
however, there is usually only one 'card' with the ID 0 (best not to
hard-code, however).  To use databases on an expansion card, use the VFS
calls.  There's a completely seperate library for these - most of which are
strikingly similar to the Dm routines with similar names.  For example:

VFSFileDBGetRecord(FileRef ref, UInt16 recIndex, MemHandle *recHP, UInt8
*recAttrP, UInt32 *uniqueIDP);

VFSFileDBInfo (FileRef ref, Char *nameP, UInt16 *attributesP, UInt16
*versionP, UInt32 *crDateP, UInt32 *modDateP, UInt32 *bckUpDateP, UInt32
*modNumP, MemHandle *appInfoHP, MemHandle *sortInfoHP, UInt32 *typeP, UInt32
*creatorP, UInt16 *numRecordsP);

&c.

Transision will be short if you are simply using the expansion card for palm
database storage.  Tip: store your application's files in
/Palm/Programs/, or, as some would wish (wink to the TapWave folks)
/PALM/Programs/-

Enjoy!

- Matthew Bevan


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


Can't connect CW Debugger to Garmin iQue 2600 USB

2004-04-01 Thread RVRoadie
The Garmin iQue has a USB cradle. In the CW debug settings I select 'palm
device' and USB connection.

When I start debug, I get a dialog about putting device in console mode. I
use the Palmasrus app to do this, and WinXP seems to recognize the
connection (with a dual tone).

Next, I get a connection failed dialog from CW.

Any thoughts on how to do this?



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


DmGetNextDatabaseByTypeCreator not reading from card

2004-04-01 Thread Todd Walk
I'm using the DmGetNextDatabaseByTypeCreator call, and
it's not returning dbs on the sd card.  Isn't it suppose
to go over all cards?  Has anyone else seen this?

(The dbs do have different types, the same creatorid, and
one was installed on the card, one in memory.)

Todd.

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


Re: What's best: MemMove or struct = struct ??

2004-04-01 Thread DongDong
Using struct = struct doesn't require memory manager that will take care of
memory arrangement, validity, allocation, and etc .

So struct = struct should be more direct and efficient.

"Regis St-Gelais" <[EMAIL PROTECTED]> ¦b¶l¥ó
news:[EMAIL PROTECTED] ¤¤¼¶¼g...
> This is a repost from March 10, I did not get any answer, maybe this time
I
> will be lucky.
>
>
> With CW 9.3 in C,
>
> Let say I have a typedef of a struct (fooStruct)
>
> I declare 2 structs:
> fooStruct udsStructA;
> fooStruct udsStructB;
>
> I can copy the struct content with this:
> udsStructA=udsStructB;
>
> the assembly looks like:
> 0068: 41ED   lea   udsStructB,a0
> 006C: 43ED   lea   udsStructA,a1
> 0070: 303C 0359  move.w#857,d0
> 0074: 22D8   move.l(a0)+,(a1)+
> 0076: 51C8 FFFC  dbra  d0,*-2 ; 0x0074
>
>
> and with that:
> MemMove(&udsStructA,&udsStructB,sizeof(fooStruct));
>
> the assembly looks like:
> 007A: 4878 0D68  pea   0x0d68
> 007E: 486D   pea   udsStructB
> 0082: 486D   pea   udsStructA
> 0086: 4E4F   trap  #15
> 0088: A026   sysTrapMemMove
>
> My assembly knowleage date from the 8080, 6802 days so I am a bit out of
> date on 68K assembly ;-)
>
> Which way is the best way to do this?
>
> Thanks
>
> -- 
> Regis St-Gelais
> www.laubrass.com
> --
>
>
>
>
>



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


.text segment

2004-04-01 Thread Catherine
I have written a multi-segment application and wondering what's inside 
".text" segment. Besides, I find "nop" opcodes inside this segment. Is 
it normal ? I haven't added any within my code 

Thx

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


Re: Alert close call

2004-04-01 Thread Ben Combee
At 07:34 PM 4/1/2004, you wrote:
When a user taps a button on an alert dialog what call is being made to
close the dialog?
Probably a combination of FrmEraseForm and FrmDeleteForm, from the alert's 
own event handler loop.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Alert close call

2004-04-01 Thread D. Kirker
When a user taps a button on an alert dialog what call is being made to
close the dialog?

D. Kirker



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


RE: need information about midp2.0 with treo

2004-04-01 Thread Ben Combee
At 03:32 PM 4/1/2004, you wrote:
ok thank

i found another documents which announce since October 2003 that the treo
support MIDP 2.0
But i would liket to know if the functionality
Midlet.requestPlatform(tel:number), a new feature of MIDP 2.0
is implemented for TREO.
If not, what the manner to initiate a call from a java application in the
treo mobile.
Is it possible to call a navite functionality of the mobile in java?
There's plenty of information out there... do some research, download the 
JVM, try building some code, then let us all know!  This is brand new 
stuff, and there aren't any experts waiting to answer your questions just yet.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


RE: need information about midp2.0 with treo

2004-04-01 Thread SLO Revo News
But i would liket to know if the functionality
Midlet.requestPlatform(tel:number), a new feature of MIDP 2.0
is implemented for TREO.
If that's a baseline MIDP 2.0 function, it should be in there. Why no 
download the SDK and docs and take a look at them. :-)

--
Regards,
Steve Mann
---
steve-at-slorevo.com
Available for Contract Work
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


RE: need information about midp2.0 with treo

2004-04-01 Thread aline simonotti
ok thank

i found another documents which announce since October 2003 that the treo
support MIDP 2.0

But i would liket to know if the functionality
Midlet.requestPlatform(tel:number), a new feature of MIDP 2.0
is implemented for TREO.
If not, what the manner to initiate a call from a java application in the
treo mobile.
Is it possible to call a navite functionality of the mobile in java?
bye
charly


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Ben
Combee
Envoye : jeudi 1 avril 2004 23:15
A : Palm Developer Forum
Objet : RE: need information about midp2.0 with treo


At 03:05 PM 4/1/2004, you wrote:

>thanks form your information but i saw the web site www.palmos.com and i
>didn't see this announce.
>which web site do you talk to?

PalmOne's website is http://www.palmone.com/.  There's also an article
about the Java environment release at http://www.palminfocenter.com/.  More
details are in the PalmOne developer program at
http://pluggedin.palmone.com/.


-- Ben Combee, senior DTS engineer, PalmSource, Inc.
Read "Combee on Palm OS" at http://palmos.combee.net/



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


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


RE: need information about midp2.0 with treo

2004-04-01 Thread Ben Combee
At 03:05 PM 4/1/2004, you wrote:

thanks form your information but i saw the web site www.palmos.com and i
didn't see this announce.
which web site do you talk to?
PalmOne's website is http://www.palmone.com/.  There's also an article 
about the Java environment release at http://www.palminfocenter.com/.  More 
details are in the PalmOne developer program at http://pluggedin.palmone.com/.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Re: blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Eric Potter
Matt Graham wrote:
Eric Potter wrote:

Is it possible to block the carriage return character when the 
keyboard is displayed? I was looking at Keyboard.h and there are a 
bunch of functions that aren't documented, so I don't know what they 
do. I see there is a #define for the return key, but I don't know if 
or how I would use this definition.


Does setting the field as a single line field fix it for you?

No, I need to limit the field to exactly 3 lines.

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


RE: need information about midp2.0 with treo

2004-04-01 Thread aline simonotti

thanks form your information but i saw the web site www.palmos.com and i
didn't see this announce.
which web site do you talk to?

regardind the contact list:
it's my own list in a file. I load contact in the application, the user
interface present a list
you select one and directly the number phone is composed.

I don't use the groupware tool from the mobile.

bye
charly

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de SLO
Revo News
Envoye : jeudi 1 avril 2004 22:52
A : Palm Developer Forum
Objet : Re: need information about midp2.0 with treo


>someone can help me regarding treo 600.
>does TREO 600 support MIDP 2.0?
>Because i need to develop a java application with which you have the
>possibility
>to consult contact list and you select one and the application initiate a
>call.

PalmOne announced support today. See their web site. Regarding
getting info from the contact list, I don't think that's possible.

--
SLO Revo, Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
---
805.784.9461, 805.784.9462 (fax)
http://www.slorevo.com

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


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


Re: need information about midp2.0 with treo

2004-04-01 Thread SLO Revo News
someone can help me regarding treo 600.
does TREO 600 support MIDP 2.0?
Because i need to develop a java application with which you have the
possibility
to consult contact list and you select one and the application initiate a
call.
PalmOne announced support today. See their web site. Regarding 
getting info from the contact list, I don't think that's possible.

--
SLO Revo, Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
---
805.784.9461, 805.784.9462 (fax)
http://www.slorevo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


need information about midp2.0 with treo

2004-04-01 Thread aline simonotti

hello!

someone can help me regarding treo 600.
does TREO 600 support MIDP 2.0?
Because i need to develop a java application with which you have the
possibility
to consult contact list and you select one and the application initiate a
call.
I known in MIDP 2.0, in the Midlet Class, it's possible to initiate a call
like it :
Midlet.requestPlatform("tel:number").
But I need the mobile support MIDP2.0 and implement this fonctionnality.
Thank for your help
charly


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


Re: blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Matt Graham
Eric Potter wrote:
Is it possible to block the carriage return character when the keyboard 
is displayed? I was looking at Keyboard.h and there are a bunch of 
functions that aren't documented, so I don't know what they do. I see 
there is a #define for the return key, but I don't know if or how I 
would use this definition.
Does setting the field as a single line field fix it for you?

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


Re: blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Dave Lippincott
I found it easier to strip unwanted characters from the text returned by the
on-screen keyboard.

- Original Message - 
From: "Eric Potter" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, April 01, 2004 2:34 PM
Subject: blocking the carriage return when the keyboard is displayed.


> Is it possible to block the carriage return character when the keyboard
> is displayed? I was looking at Keyboard.h and there are a bunch of
> functions that aren't documented, so I don't know what they do. I see
> there is a #define for the return key, but I don't know if or how I
> would use this definition.
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



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


Re: Palm Development General Question

2004-04-01 Thread Ton van Overbeek
In article <[EMAIL PROTECTED]>, Ben Combee wrote:
> At 01:00 PM 4/1/2004, you wrote:
>> > H C99 support has been in development for a while, but the 3.0
>> > C/C++ front-end used in the 68K tools doesn't support this particular
>> > thing.  It was added for the 3.2 FE that's used in the PNO compiler, so it
>> > does work there.
>> >
>> > -- Ben Combee, senior DTS engineer, PalmSource, Inc.
>> > Read "Combee on Palm OS" at http://palmos.combee.net/
>>
>>Small correction. Prc-tools-2.3 68k compiler is still based on gcc-2.95.3,
>>not 3.x.
> 
> I'm talking about the CodeWarrior compilers, not the GCC-based prc-tools.
> 
> 
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/

I should have read the messages better than I did. Apologies Ben for my 
noise in this thread.

Ton van Overbeek 

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


Re: Palm Development General Question

2004-04-01 Thread Ben Combee
At 01:00 PM 4/1/2004, you wrote:
> H C99 support has been in development for a while, but the 3.0
> C/C++ front-end used in the 68K tools doesn't support this particular
> thing.  It was added for the 3.2 FE that's used in the PNO compiler, so it
> does work there.
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/
Small correction. Prc-tools-2.3 68k compiler is still based on gcc-2.95.3,
not 3.x.
I'm talking about the CodeWarrior compilers, not the GCC-based prc-tools.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Re: What's best: MemMove or struct = struct ??

2004-04-01 Thread Brad Figler
I would imagine that struct = struct would be a bit more efficient.

MemMove has to handle overlapping memory addresses, so there is going to
be a little bit of overhead for that. Also, MemMove is a system trap and 
calling OS functions consists of setting up the environment (for the 
stack frame, return address, giving control to the OS, etc...).

That is why I think it would be more efficient just copying your 
structure in a loop (i.e. struct = struct ).

Brad

Regis St-Gelais wrote:
This is a repost from March 10, I did not get any answer, maybe this time I
will be lucky.
With CW 9.3 in C,

Let say I have a typedef of a struct (fooStruct)

I declare 2 structs:
fooStruct udsStructA;
fooStruct udsStructB;
I can copy the struct content with this:
udsStructA=udsStructB;
the assembly looks like:
0068: 41ED   lea   udsStructB,a0
006C: 43ED   lea   udsStructA,a1
0070: 303C 0359  move.w#857,d0
0074: 22D8   move.l(a0)+,(a1)+
0076: 51C8 FFFC  dbra  d0,*-2 ; 0x0074
and with that:
MemMove(&udsStructA,&udsStructB,sizeof(fooStruct));
the assembly looks like:
007A: 4878 0D68  pea   0x0d68
007E: 486D   pea   udsStructB
0082: 486D   pea   udsStructA
0086: 4E4F   trap  #15
0088: A026   sysTrapMemMove
My assembly knowleage date from the 8080, 6802 days so I am a bit out of
date on 68K assembly ;-)
Which way is the best way to do this?

Thanks

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


blocking the carriage return when the keyboard is displayed.

2004-04-01 Thread Eric Potter
Is it possible to block the carriage return character when the keyboard 
is displayed? I was looking at Keyboard.h and there are a bunch of 
functions that aren't documented, so I don't know what they do. I see 
there is a #define for the return key, but I don't know if or how I 
would use this definition.

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


Re: Zire 71 and Camera events

2004-04-01 Thread Regis St-Gelais


"Eli Mandel" <[EMAIL PROTECTED]> a ?crit dans le message de
news:[EMAIL PROTECTED]
> Sliding the Zire 71 up within its casing to reveal the camera affects the
> programs running.
> As my program has to respond to this change of state, what events are
> generated, so that I can detect these changes and take the neccesary
actions
> ?
>

You need to register to the slider notification.

See the CameraSample in the Palm SG SDK.

-- 
Regis St-Gelais
www.laubrass.com
--



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


What's best: MemMove or struct = struct ??

2004-04-01 Thread Regis St-Gelais
This is a repost from March 10, I did not get any answer, maybe this time I
will be lucky.


With CW 9.3 in C,

Let say I have a typedef of a struct (fooStruct)

I declare 2 structs:
fooStruct udsStructA;
fooStruct udsStructB;

I can copy the struct content with this:
udsStructA=udsStructB;

the assembly looks like:
0068: 41ED   lea   udsStructB,a0
006C: 43ED   lea   udsStructA,a1
0070: 303C 0359  move.w#857,d0
0074: 22D8   move.l(a0)+,(a1)+
0076: 51C8 FFFC  dbra  d0,*-2 ; 0x0074


and with that:
MemMove(&udsStructA,&udsStructB,sizeof(fooStruct));

the assembly looks like:
007A: 4878 0D68  pea   0x0d68
007E: 486D   pea   udsStructB
0082: 486D   pea   udsStructA
0086: 4E4F   trap  #15
0088: A026   sysTrapMemMove

My assembly knowleage date from the 8080, 6802 days so I am a bit out of
date on 68K assembly ;-)

Which way is the best way to do this?

Thanks

-- 
Regis St-Gelais
www.laubrass.com
--





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


Re: Palm Development General Question

2004-04-01 Thread Ton van Overbeek
In article <[EMAIL PROTECTED]>, Ben Combee wrote:
> At 11:00 AM 4/1/2004, you wrote:
>>[ sorry for the top post, Lyris list manager keeps refusing my bottom post ]
>>
>>Ben,
>>
>>I just tried the #pragma c99 on and also the Enable C99 extensions, but
>>CW still complains about
>>local variables not declared at the beginning of blocks.
>>
>>Error   : expression syntax error
>>cmdproblem.c line 175int status;
>>
>>But "Force C++ compilation" works.
>>
>>I guess the anywhere-local-vars currently is not supported by CW C compiler.
> 
> H C99 support has been in development for a while, but the 3.0 
> C/C++ front-end used in the 68K tools doesn't support this particular 
> thing.  It was added for the 3.2 FE that's used in the PNO compiler, so it 
> does work there.
> 
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/

Small correction. Prc-tools-2.3 68k compiler is still based on gcc-2.95.3,
not 3.x.

Ton van Overbeek

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


Re: Palm Development General Question

2004-04-01 Thread Ben Combee
At 11:00 AM 4/1/2004, you wrote:
[ sorry for the top post, Lyris list manager keeps refusing my bottom post ]

Ben,

I just tried the #pragma c99 on and also the Enable C99 extensions, but
CW still complains about
local variables not declared at the beginning of blocks.
Error   : expression syntax error
cmdproblem.c line 175int status;
But "Force C++ compilation" works.

I guess the anywhere-local-vars currently is not supported by CW C compiler.
H C99 support has been in development for a while, but the 3.0 
C/C++ front-end used in the 68K tools doesn't support this particular 
thing.  It was added for the 3.2 FE that's used in the PNO compiler, so it 
does work there.

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Zire 71 and Camera events

2004-04-01 Thread Eli Mandel
Sliding the Zire 71 up within its casing to reveal the camera affects the
programs running.
As my program has to respond to this change of state, what events are
generated, so that I can detect these changes and take the neccesary actions
?



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


Re: Shared Library in CodeWarrior9

2004-04-01 Thread Patrick Tuan
According to the answers Ben Combee gave me below, I guess C is the only way
of doing shared libraries. Because C++'s implementation needs to use global
variables, but shared libraries are not allowed to have globals.

"Dorotéa Karine" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> For kindness, I would like to know if it is possible
> to create a shared library in the CW9 base in C++? I'm
> creating the project using the option "Palm OS
> Shared Library Wizard", however, this way, the project
> is based on C and not in C++. The same thing happens
> when I use the option "Palm Static Library Wizard".
> Until this moment, I didn't get to find another option
> for to create a shared library in C++. Exists some
> other way of creating shared libraries using C++?
> If that is not possible, exists some documentation
> specifying this question?
>
> Thanks a lot,
> Dorotéa Karine
>
>
> __
>
> Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
> http://br.yahoo.com/info/mail.html
>



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


Re: how to change button's text and id on the fly

2004-04-01 Thread Patrick Tuan
Or you can create the buttons on-the-fly, instead of embedding them in the
resource. Palm OS lets you create most of the UI objects on-the-fly.

"Matt Graham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Pinaki Roy wrote:
> >   can i dynamically change the button label (text) and
> > id ?? i want to use same button for different
> > functionality in my application -- how i can achive
> > that ??
>
> Use 2 different buttons and hide and show them as appropriate?
>
> You can change the button label w/ CtlSetLabel() or something but I'm
> pretty sure a button is stuck w/ the ID it starts with. Try using 2
> buttons or just changing the text and dealing w/ only one ID.
>



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


Re: GLibs with prc-tools (pointer problem?)

2004-04-01 Thread Jan Bandouch
Hi,
still not beeing able to get things running.
I've checked with the sample application, and I'm doing exactly the same 
things when creating the GLib.

Maybe there's something twisted with globals used by API calls in the 
GLib or so on.
I have my functions declarations from my glibs .h file here. Maybe 
someone finds something thats impossible (like passing char-pointers, 
although I tested that with a modified mersenne-twister sample app and 
it worked there). I do not use any (of my own) global  or static data in 
the definitions.


#include 
#include "BtLib.h"
MemPtr  MyGetObjectPtr(UInt16 objID);
voidMyDrawBitmap(UInt16 objID, Coord x, Coord y);
voidMySetField(UInt16 objID, Char *str);
voidMyAdaptDoubleString(Char *str);
voidMySetFieldDouble(UInt16 objID, double d, double min, double max);
Boolean MyCheckFieldDouble(UInt16 objID, double *d);
Boolean MyIsChecked(UInt16 objID);
voidPrintDouble(double x, Char *s);
Boolean StrToDouble(const Char* str, double *dbl);
Char *  ConvertBtErrToString(Err errno);

I also test compiled the mersenne twister sample application, and when 
compiled as single prc without glib, it's even a slightly smaller prc 
file. Same happens in my application. So is it in general a good idea to 
use a glib in means of saving code space in my application?

Please help me, I'm really desperate...
Thx,
Jan

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


Re: Palm CodeWarrrior on a G5 Mac

2004-04-01 Thread SLO Revo News
Does Palm CodeWarrrior run on a G5 Mac? /PaulN
Version 8 does, if you can find a copy. Version 9 does with Virtual 
PC, but not very fast.

Regards,
Steve Mann
---
steve-at-slorevo.com
Available for Contract Work
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Palm Development General Question

2004-04-01 Thread Vu Pham
[ sorry for the top post, Lyris list manager keeps refusing my bottom post ]

Ben,

I just tried the #pragma c99 on and also the Enable C99 extensions, but
CW still complains about
local variables not declared at the beginning of blocks.

Error   : expression syntax error
cmdproblem.c line 175int status;

But "Force C++ compilation" works.

I guess the anywhere-local-vars currently is not supported by CW C compiler.

Vu

- Original Message - 
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 2:35 PM
Subject: Re: Palm Development General Question


> At 12:10 PM 3/31/2004, you wrote:
> >Just want to clarify a little bit : C99 allows to declare local variables
> >anywhere. CW compiler just does not support this.
>
> Sure it does... just use "#pragma c9x on" or turn on the "Enable C99
> Extensions" switch in the C/C++ Language panel.  The CW for Palm OS V9
> compiler isn't C99 by default, but it can be configured to support most of
> the C99 standard.
>
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/
>
>
>
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
>



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


Re: New Clie device (Look at the UI!)

2004-04-01 Thread David Thacker
> Perhaps a stronger cup of coffee is in order this morning ;-)

Ahh, perhaps that coffee should be for me...

No I know why my son was wearing his clothes backwards to school this
morning!

David Thacker


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


Re: NS Basic announces support for new device!

2004-04-01 Thread David Thacker

"George Henne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We're pleased to announce NS Basic support for this new device:
>
> http://www.nsbasic.com/images/NewDevice.jpg

Let me guess, it's called an Abaqus, or is that Ibaqus.  No, wait, Ipaqus.

David Thacker
http://www.palmdatapro.com


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


Re: New Clie device (Look at the UI!)

2004-04-01 Thread David Thacker

"George Henne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> One of our Japanese users sent us this spy shot of a new Clie device.
>
> 
>
> It's pretty impressive to be able to run VB directly on the device!


George,

You of all people should recognize the NSBasic IDE in that shot (and
filename), not VB!!!

Perhaps a stronger cup of coffee is in order this morning ;-)

BTW, congratulations on the new addition!!

David Thacker
http://www.palmdatapro.com


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


Re: Graphics library

2004-04-01 Thread Mohammad Afshari
Hello Pavel

You can take a look at this website for an SDK for a graphics library.
http://www.gapidraw.com/default.asp

I guess  its still under development for Palm OS.

"Pavel Szalbot" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm interested in game development for Palm OS 5.x ( later for Cobalt as
well ), but I am not sure about performance. Is the Palm OS API sufficient
for arcade games? Or is there any special graphics library to use?
>
> Thanks a lot
> Pavel
> Frogee
>
>
>
>
>




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


Re: Graphics library

2004-04-01 Thread tilo.christ

Pavel,

besides the often mentioned choices, like Aaron Ardiri's SHARK, and my
Razor! you might also want to look at GapiDraw. This has been very
popular for WinCE devices and is now out for PalmOS 5.x and Symbian.

Tilo

> 
> I'm interested in game development for Palm OS 5.x ( later for Cobalt as well ), but 
> I am not sure about performance. Is the Palm OS API sufficient for arcade games? Or 
> is there any special graphics library to use?
> 
> Thanks a lot
> Pavel
> Frogee
> 
> 
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
> http://www.palmos.com/dev/support/forums/

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


Re: how to change button's text and id on the fly

2004-04-01 Thread Matt Graham
Pinaki Roy wrote:
  can i dynamically change the button label (text) and
id ?? i want to use same button for different
functionality in my application -- how i can achive
that ??
Use 2 different buttons and hide and show them as appropriate?

You can change the button label w/ CtlSetLabel() or something but I'm 
pretty sure a button is stuck w/ the ID it starts with. Try using 2 
buttons or just changing the text and dealing w/ only one ID.

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


Re: NS Basic announces support for new device!

2004-04-01 Thread Matt Graham
George Henne wrote:
We're pleased to announce NS Basic support for this new device:

http://www.nsbasic.com/images/NewDevice.jpg
Ooooh! I hope I can convince management to develop our next product for 
THAT device!

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


how to change button's text and id on the fly

2004-04-01 Thread Pinaki Roy
Hi,
  can i dynamically change the button label (text) and
id ?? i want to use same button for different
functionality in my application -- how i can achive
that ??
Thanx in adv for any help..
Regrds
PInaki



Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html

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


Re: Palm Development General Question

2004-04-01 Thread Matt Graham
Chris Hall wrote:
I was wondering which language seems to be more widely used for Palm 
development, C or C++? Is there any major benefit for using one
language over the other?
This isn't really a question specific to Palm. They're different
languages and much of it depends on your preference. However, C++
can be easier to hide some things that might be difficult for a newbie
to quickly pick up, such as string manipulation.

I understand that without specific requirements, it is not easy to
give an time estimate. I was just wondering what a general timeframe
might be to develop an application like this, by a single
developer a week, a month, a year? I was looking for a general
idea.
Kind of depends on how much time per day you're spending on doing it. As
you say your a newbie, probably longer than you expect.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Selected Bitmap Resource - Graphical button - Gadgets

2004-04-01 Thread Jefferson Samuel
Hello All,



I want to show a bunch of bitmaps for the user, of which he can choose any
one. When he is moving his Pen over the bitmap, I want to show the bitmap
with a border. My intension is to give the user instant feedback on which
bitmap his pen is currently moving.



Very similar to WEEK VIEW in Datebook application. In datebook we can drag &
drop our appointments in any time slot. We would see an Instant Feedback of
the small box moving until we drop it. They have used gadgets to do this.
Week View gadget seem to be very complex and hard to understand. I haven't
yet been confident in working with Gadgets.

Any guidance to understand the working of Gadgets would be of great help.



I tried to workaround this problem by placing Graphical Button.

I created two bitmap resources.

a)  Bitmap without boarder - For "Bitmap Resource"

b)  Bitmap with boarder - For "Selected Bitmap Resource"



When the Graphical button is pressed, it shows the "Selected Bitmap
 Resource".



I want to know how I can choose "Selected Bitmap Resource" when the user
moves over the bitmap.



I tried using Graphical Push Buttons, ctlEnterEvent , ctlExitEvent,
penMoveEvent.  No success till now.



case ctlEnterEvent:

for (iFor = 0 ; iFor < 8 ; iFor++)

CtlSetValue((ControlType
*)GetObjectPtr(GBBitmapTable[iFor]),0);

handled = true;

break;



Please give your advice on this.



Appreciate you time.



Jeffy




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


Re: New Clie device (Look at the UI!)

2004-04-01 Thread David A. Desrosiers

> It's pretty impressive to be able to run VB directly on the device!

There's nothing impressive about running VB at all, even on its
native target platform. Welcome to PalmVNC or some interesting
PhotoShop'ing of the screenshot.

d.


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


New Clie device (Look at the UI!)

2004-04-01 Thread George Henne
One of our Japanese users sent us this spy shot of a new Clie device.



It's pretty impressive to be able to run VB directly on the device! 


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


Re: GLibs with prc-tools (pointer problem?)

2004-04-01 Thread Jan Bandouch
Hi John,

Where did you look?
In the manpage (m68k-palmos-gcc), the example glib code and on google. I 
must admit I searched wrong on google. I searched for -mown-gp, which 
returns nothing, when not set in ""'s. My fault.

It is a GCC option that is specific to Palm OS, and is documented as such
at http://prc-tools.sourceforge.net/doc/ .
Yep, there I found it when googling the right way :-)

Do you have any idea what goes wrong with my glib-attemps? I must admit 
that I'm no expert in this %a4 stuff, but as I'm not using any globals, 
I guess thats not my problem.

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


Re: GLibs with prc-tools (pointer problem?)

2004-04-01 Thread John Marshall
Jan Bandouch wrote:
> I do compile with "-mown-gp" as in the example. Couldn't find anything
> about it. What does it do?

Where did you look?

It is a GCC option that is specific to Palm OS, and is documented as such
at http://prc-tools.sourceforge.net/doc/ .

John

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


Shared Library in CodeWarrior9

2004-04-01 Thread Dorotéa Karine
Hi, 

For kindness, I would like to know if it is possible
to create a shared library in the CW9 base in C++? I'm
creating the project using the option "Palm OS   
Shared Library Wizard", however, this way, the project
is based on C and not in C++. The same thing happens
when I use the option "Palm Static Library Wizard".
Until this moment, I didn't get to find another option
for to create a shared library in C++. Exists some
other way of creating shared libraries using C++?   
If that is not possible, exists some documentation
specifying this question?  

Thanks a lot,
Dorotéa Karine


__

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html

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


NS Basic announces support for new device!

2004-04-01 Thread George Henne
We're pleased to announce NS Basic support for this new device:

http://www.nsbasic.com/images/NewDevice.jpg

George Henne 
NS BASIC Corporation
http://www.nsbasic.com 


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


Re: GLibs with prc-tools (pointer problem?)

2004-04-01 Thread Jan Bandouch
Maybe I'm doing something wrong with the compilation.
I do compile with "-mown-gp" as in the example. Couldn't find anything 
about it. What does it do?

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


Palm CodeWarrrior on a G5 Mac

2004-04-01 Thread Paul Nevai
Does Palm CodeWarrrior run on a G5 Mac? /PaulN

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


how to write VFAT drivers?

2004-04-01 Thread DJ
Hi
  Can anyone tell me how to write my own VFAT driver
on PalmOS 5.0?
  The driver should be an application driver, and it
should not use any of the already available VFAT APIs.

thanks


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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


Re: hwrMiscFlagExtSubIDMask

2004-04-01 Thread Wojtek

"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 02:09 AM 4/1/2004, you wrote:
> >Hi.
> >How to us this mask?
> >I can't figure it out from source header.
> >I've read old forum thread aboud device model and manufacturer but it
didn't
> >help me.
> >
> >I'd like to distinguish devices such as Palm III/IIIx/IIIxe, Palm V/Vx
etc.
> >It is needed for inventory purposes.
>
> Have you read the big tables at
> http://homepage.mac.com/alvinmok/palm/codenames.html and
> http://www.mobilegeographics.com/dev/devices.php ?
>
>
> -- Ben Combee, senior DTS engineer, PalmSource, Inc.
> Read "Combee on Palm OS" at http://palmos.combee.net/
>

Thanks. :)
Acutally it's not what I ment.
I already use this links.

I don't know how and when hwrMiscFlagExtSubID should be retrieved.
I understand that when I get sysFtrNumHwrMiscFlagsExt feature I have to AND
it with hwrMiscFlagExtSubIDMask to check if subID is present, right?
Then I need to check what subID it is - to do that I should AND it with
hwrMiscFlagExtSubIDSumo etc. right?

Values of this subID confuse me: hwrMiscFlagExtSubIDBrad0x0how to
understand that?
When this subIDs are useful? Shall it be treated as on overlay of ordinary
hardware IDs? (e.g.hwrMiscFlagIDSumo )

Wojtek





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


RE: PiLRC FORCECOMPRESS

2004-04-01 Thread Michael Roger C. Bianan
Thanks Ben.  :)

Michael Roger C. Bianan
Software Developer
 
Tel :+63 032 4172303 
Mobile:   +63 916 3864124
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben
Combee
Sent: Wednesday, March 31, 2004 5:49 PM
To: Palm Developer Forum
Subject: Re: PiLRC FORCECOMPRESS

At 09:32 AM 4/1/2004, you wrote:
>Hi Guys, Aaron:
>
>I created a bitmap resource with FORCECOMPRESS option using PiLRC.
>I want to uncompress it now, but I can't find the equivalent
>compressionType
>to pass in BmpCompress() function.

The current PilRC code only uses scanline compression, so that would be
the 
one to use.  In general, you don't need to decompress the bitmap using 
BmpCompress -- just use WinDrawBitmap or WinCreateBitmapWindow.


-- Ben Combee, senior DTS engineer, PalmSource, Inc.
Read "Combee on Palm OS" at http://palmos.combee.net/



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



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


Re: Graphics library

2004-04-01 Thread Aaron Ardiri
> > > I'm interested in game development for Palm OS 5.x ( later for Cobalt as well ), 
> > > but I am not sure about performance. Is the Palm OS API sufficient for arcade 
> > > games? Or is there any special graphics library to use?
> > 
> > arcade games have been possible even with Palm OS 1.0. it doesn't take long
> > to find a bunch of developers who have been doing this for over 4 years now
> > (myself included).
> > 
> > as for libraries, you can search the archives for more information.
> 
> I beg you pardon, but what _archives_ do you mind?

http://www.escribe.com/computing/pcpqa/index.html

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php

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


Re: Graphics library

2004-04-01 Thread Ben Combee
At 03:04 AM 4/1/2004, you wrote:
Hi,

I'm interested in game development for Palm OS 5.x ( later for Cobalt as 
well ), but I am not sure about performance. Is the Palm OS API sufficient 
for arcade games? Or is there any special graphics library to use?
Do you see arcade games running on Palm OS?  (Yes)
Therefore, it must be good enough to do them :)
One good gaming API is Razor, a C++ framework that I've talked about at 
http://www.palmoswerks.com/stories/storyReader$23

Tapwave has a nice gaming API for their Palm OS device -- www.tapwave.com.

There's even a book on Palm OS game development; check your local online 
bookstore for "Palm OS Game Programming".

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Re: Graphics library

2004-04-01 Thread Pavel Szalbot
> > I'm interested in game development for Palm OS 5.x ( later for Cobalt as well ), 
> > but I am not sure about performance. Is the Palm OS API sufficient for arcade 
> > games? Or is there any special graphics library to use?
> 
> arcade games have been possible even with Palm OS 1.0. it doesn't take long
> to find a bunch of developers who have been doing this for over 4 years now
> (myself included).
> 
> as for libraries, you can search the archives for more information.

   I beg you pardon, but what _archives_ do you mind?

Pavel
Frogee


Vyzkousejte cocky NIGHT&DAY - par zdarma + 50% sleva na aplikaci. Navic kupon na slevu 
300 Kc! http://user.centrum.cz/redir.php?url=http://www.cibavision.cz/




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


Re: Graphics library

2004-04-01 Thread Aaron Ardiri
> I'm interested in game development for Palm OS 5.x ( later for Cobalt as well ), 
> but I am not sure about performance. Is the Palm OS API sufficient for arcade 
> games? Or is there any special graphics library to use?

arcade games have been possible even with Palm OS 1.0. it doesn't take long
to find a bunch of developers who have been doing this for over 4 years now
(myself included).

as for libraries, you can search the archives for more information.

---
Aaron Ardiri
PalmOS Certified Developer
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php

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


Re: multi-sectioned GLib

2004-04-01 Thread Jan Bandouch
Hi Jochen,
sorry I cannot help you with your problem, but maybe you can help me 
with mine ;-)
Have you been successfully able to create a glib and use it?

I've posted my problems with glibs in this newsgroups yesterday.
Seems that not to many people now about glibs. Are they actually 
supported? The example says something like "should work".

My problems were a huge speed loss and when passing pointers to 
functions in the glib, they seem to point to the middle of nowhere (just 
my guess, generally I get crappy data from my functions).
Also my applications prc file didn't seem to be smaller (by the amount 
of the lib, as I would expect).

Do you now of any adaptions to the code one has to do before beeing able 
to use the glibs?

Thanks and good luck with your question,

Jan

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


Graphics library

2004-04-01 Thread Pavel Szalbot
Hi, 

I'm interested in game development for Palm OS 5.x ( later for Cobalt as well ), but I 
am not sure about performance. Is the Palm OS API sufficient for arcade games? Or is 
there any special graphics library to use?

Thanks a lot
Pavel
Frogee





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


displaying .bmp on palm

2004-04-01 Thread Gauri Vakde
 hi
 
i have .bmp files which i need to display on palm as
icons
also my application needs to  download .bmp and
display it 
i m using Palm OS 5 SDK(68K) 
i can use only freeware 
please suggest/guide accordingly
 
thanx



__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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


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 availabilty.

PalmOSGlue doesn't use global variables.



-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Re: hwrMiscFlagExtSubIDMask

2004-04-01 Thread Ben Combee
At 02:09 AM 4/1/2004, you wrote:
Hi.
How to us this mask?
I can't figure it out from source header.
I've read old forum thread aboud device model and manufacturer but it didn't
help me.
I'd like to distinguish devices such as Palm III/IIIx/IIIxe, Palm V/Vx etc.
It is needed for inventory purposes.
Have you read the big tables at 
http://homepage.mac.com/alvinmok/palm/codenames.html and 
http://www.mobilegeographics.com/dev/devices.php ?

-- Ben Combee, senior DTS engineer, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/


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


Re: A little more elaboration

2004-04-01 Thread Patrick Tuan
I want to create two programs. Program A calls up program B, both have UI.
Since the SysAppLaunch-ed B cannot have globals, so I'm thinking maybe I
should do it as a shared library or an app that responds only with a special
launch code. But if any of the statically linked library that's embedded
within B uses globals, then I'm busted!

Any solution to this?

"Patrick Tuan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 done either in a
> shared library or an application that responds only to a custom-defined
> launch code (instead of the normal launch code that I mentioned earlier.)
> Although they both have no globals, but with a little hard work I think I
> can get around with that IF AND ONLY IF:
>
> None of the statically linked libraries (such as the
PalmOSRuntime_2i_A5.lib
> or PalmOSGlue.lib) needs to use my global data segement!
>
> Do you have any idea about this?
>
> Thanks!
>
>
>



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


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 done either in a
shared library or an application that responds only to a custom-defined
launch code (instead of the normal launch code that I mentioned earlier.)
Although they both have no globals, but with a little hard work I think I
can get around with that IF AND ONLY IF:

None of the statically linked libraries (such as the PalmOSRuntime_2i_A5.lib
or PalmOSGlue.lib) needs to use my global data segement!

Do you have any idea about this?

Thanks!



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


hwrMiscFlagExtSubIDMask

2004-04-01 Thread Wojtek
Hi.
How to us this mask?
I can't figure it out from source header.
I've read old forum thread aboud device model and manufacturer but it didn't
help me.

I'd like to distinguish devices such as Palm III/IIIx/IIIxe, Palm V/Vx etc.
It is needed for inventory purposes.

Wojtek


-- 




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